Bug 1288566 - Include all possible states in StateName; r=jonco

--HG--
extra : rebase_source : 3e10b55fef34b5d9641c431f1818d08278e34554
This commit is contained in:
Terrence Cole 2016-07-22 10:32:05 -07:00
parent 04fe291d25
commit 66620d7847

View File

@ -7602,7 +7602,8 @@ StateName(State state)
"Mark",
"Sweep",
"Finalize",
"Compact"
"Compact",
"Decommit"
};
MOZ_ASSERT(ArrayLength(names) == NUM_STATES);
MOZ_ASSERT(state < NUM_STATES);