From 648b569a2227b76cf39e060deff8b4081ba26f06 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 27 Jun 2017 00:12:45 +0200 Subject: Remove SetGCZeal() stub and its callers. --- js/src/builtin/TestingFunctions.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'js/src/builtin') diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp index 6765a05f3..acf449b7e 100644 --- a/js/src/builtin/TestingFunctions.cpp +++ b/js/src/builtin/TestingFunctions.cpp @@ -1264,8 +1264,6 @@ OOMTest(JSContext* cx, unsigned argc, Value* vp) MOZ_ASSERT(!cx->isExceptionPending()); rt->hadOutOfMemory = false; - JS_SetGCZeal(cx, 0, JS_DEFAULT_ZEAL_FREQ); - for (unsigned thread = threadStart; thread < threadEnd; thread++) { if (verbose) fprintf(stderr, "thread %d\n", thread); -- cgit v1.2.3