From 1cac08b9a2d2171593fc6737e1b649d81ff39784 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 22:20:37 +0200 Subject: Remove remaining conditional GCZeal code. Creates stubs: jsgc.h/cpp VerifyBarriers() stub MaybeVerifyBarriers() stub GCRuntime::computeNonIncrementalMarkingForValidation() stub GCRuntime::validateIncrementalMarking() stub GCRuntime::finishMarkingValidation() stub GCRuntime::pushZealSelectedObjects() stub bool useZeal? GCRuntime::runDebugGC() stub XPConnect: nsXPCComponents_Utils::SetGCZeal() stub (always NS_OK) --- js/xpconnect/src/XPCComponents.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'js/xpconnect/src/XPCComponents.cpp') diff --git a/js/xpconnect/src/XPCComponents.cpp b/js/xpconnect/src/XPCComponents.cpp index ca78234c9..02b0b4d14 100644 --- a/js/xpconnect/src/XPCComponents.cpp +++ b/js/xpconnect/src/XPCComponents.cpp @@ -3007,9 +3007,6 @@ GENERATE_JSCONTEXTOPTION_GETTER_SETTER(Ion, ion, setIon) NS_IMETHODIMP nsXPCComponents_Utils::SetGCZeal(int32_t aValue, JSContext* cx) { -#ifdef JS_GC_ZEAL - JS_SetGCZeal(cx, uint8_t(aValue), JS_DEFAULT_ZEAL_FREQ); -#endif return NS_OK; } -- cgit v1.2.3 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/xpconnect/src/XPCComponents.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'js/xpconnect/src/XPCComponents.cpp') diff --git a/js/xpconnect/src/XPCComponents.cpp b/js/xpconnect/src/XPCComponents.cpp index 02b0b4d14..dbb63092e 100644 --- a/js/xpconnect/src/XPCComponents.cpp +++ b/js/xpconnect/src/XPCComponents.cpp @@ -3004,12 +3004,6 @@ GENERATE_JSCONTEXTOPTION_GETTER_SETTER(Ion, ion, setIon) #undef GENERATE_JSCONTEXTOPTION_GETTER_SETTER -NS_IMETHODIMP -nsXPCComponents_Utils::SetGCZeal(int32_t aValue, JSContext* cx) -{ - return NS_OK; -} - NS_IMETHODIMP nsXPCComponents_Utils::NukeSandbox(HandleValue obj, JSContext* cx) { -- cgit v1.2.3