summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/TestingFunctions.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-06-27 00:12:45 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 17:54:08 +0100
commit648b569a2227b76cf39e060deff8b4081ba26f06 (patch)
tree9b7b838236aac3d904a85a140b8b62b5fd6601b9 /js/src/builtin/TestingFunctions.cpp
parentf7352531b6f7442278bb8a7b95385db05ba4ae3c (diff)
downloadUXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar
UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar.gz
UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar.lz
UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar.xz
UXP-648b569a2227b76cf39e060deff8b4081ba26f06.zip
Remove SetGCZeal() stub and its callers.
Diffstat (limited to 'js/src/builtin/TestingFunctions.cpp')
-rw-r--r--js/src/builtin/TestingFunctions.cpp2
1 files changed, 0 insertions, 2 deletions
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);