diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-06-26 22:20:37 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 17:35:44 +0100 |
commit | 1cac08b9a2d2171593fc6737e1b649d81ff39784 (patch) | |
tree | 1f42cae7c195fae5db1e99cfc49692df14ed1126 /js/xpconnect/src/XPCJSContext.cpp | |
parent | 867bfbd87902a68680286ee9c52d882d854b90d3 (diff) | |
download | UXP-1cac08b9a2d2171593fc6737e1b649d81ff39784.tar UXP-1cac08b9a2d2171593fc6737e1b649d81ff39784.tar.gz UXP-1cac08b9a2d2171593fc6737e1b649d81ff39784.tar.lz UXP-1cac08b9a2d2171593fc6737e1b649d81ff39784.tar.xz UXP-1cac08b9a2d2171593fc6737e1b649d81ff39784.zip |
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)
Diffstat (limited to 'js/xpconnect/src/XPCJSContext.cpp')
-rw-r--r-- | js/xpconnect/src/XPCJSContext.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/xpconnect/src/XPCJSContext.cpp b/js/xpconnect/src/XPCJSContext.cpp index 6981b525c..defd1b785 100644 --- a/js/xpconnect/src/XPCJSContext.cpp +++ b/js/xpconnect/src/XPCJSContext.cpp @@ -1473,16 +1473,6 @@ ReloadPrefsCallback(const char* pref, void* data) sExtraWarningsForSystemJS = Preferences::GetBool(JS_OPTIONS_DOT_STR "strict.debug"); #endif -#ifdef JS_GC_ZEAL - int32_t zeal = Preferences::GetInt(JS_OPTIONS_DOT_STR "gczeal", -1); - int32_t zeal_frequency = - Preferences::GetInt(JS_OPTIONS_DOT_STR "gczeal.frequency", - JS_DEFAULT_ZEAL_FREQ); - if (zeal >= 0) { - JS_SetGCZeal(cx, (uint8_t)zeal, zeal_frequency); - } -#endif // JS_GC_ZEAL - JS::ContextOptionsRef(cx).setBaseline(useBaseline) .setIon(useIon) .setAsmJS(useAsmJS) |