Bug 1118560 - Update GC_PARAMETER_ARGS_LIST to keep it in sync with paramMap r=terrence
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 09 Jan 2015 09:56:45 +0000
changeset 235997 a560b1139a5f5a36cf8120ce511425e779135172
parent 235996 6d425a16fe7ccd60b2dbd2d4050d41e750964a01
child 235998 94b823b0d44500efe2f3aeb26068602d9ce8a791
push id384
push usermartin.thomson@gmail.com
push dateFri, 09 Jan 2015 21:26:39 +0000
reviewersterrence
bugs1118560
milestone37.0a1
Bug 1118560 - Update GC_PARAMETER_ARGS_LIST to keep it in sync with paramMap r=terrence
js/src/builtin/TestingFunctions.cpp
--- a/js/src/builtin/TestingFunctions.cpp
+++ b/js/src/builtin/TestingFunctions.cpp
@@ -267,17 +267,17 @@ static const struct ParamPair {
     {"gcNumber",            JSGC_NUMBER},
     {"sliceTimeBudget",     JSGC_SLICE_TIME_BUDGET},
     {"markStackLimit",      JSGC_MARK_STACK_LIMIT},
     {"minEmptyChunkCount",  JSGC_MIN_EMPTY_CHUNK_COUNT},
     {"maxEmptyChunkCount",  JSGC_MAX_EMPTY_CHUNK_COUNT}
 };
 
 // Keep this in sync with above params.
-#define GC_PARAMETER_ARGS_LIST "maxBytes, maxMallocBytes, gcBytes, gcNumber, sliceTimeBudget, or markStackLimit"
+#define GC_PARAMETER_ARGS_LIST "maxBytes, maxMallocBytes, gcBytes, gcNumber, sliceTimeBudget, markStackLimit, minEmptyChunkCount or maxEmptyChunkCount"
 
 static bool
 GCParameter(JSContext *cx, unsigned argc, Value *vp)
 {
     CallArgs args = CallArgsFromVp(argc, vp);
 
     JSString *str = ToString(cx, args.get(0));
     if (!str)