Skip to content

Commit

Permalink
Bug 1288566 - Include all possible states in StateName; r=jonco
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrence Cole committed Jul 22, 2016
1 parent ff32583 commit 3a0ab5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/src/jsgc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7602,7 +7602,8 @@ StateName(State state)
"Mark",
"Sweep",
"Finalize",
"Compact"
"Compact",
"Decommit"
};
MOZ_ASSERT(ArrayLength(names) == NUM_STATES);
MOZ_ASSERT(state < NUM_STATES);
Expand Down

0 comments on commit 3a0ab5c

Please sign in to comment.