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/src/jsgc.h | |
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/src/jsgc.h')
-rw-r--r-- | js/src/jsgc.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/src/jsgc.h b/js/src/jsgc.h index 79ac9596c..c0d86781d 100644 --- a/js/src/jsgc.h +++ b/js/src/jsgc.h @@ -1264,19 +1264,6 @@ enum VerifierType { PreBarrierVerifier }; -#ifdef JS_GC_ZEAL - -extern const char* ZealModeHelpText; - -/* Check that write barriers have been used correctly. See jsgc.cpp. */ -void -VerifyBarriers(JSRuntime* rt, VerifierType type); - -void -MaybeVerifyBarriers(JSContext* cx, bool always = false); - -#else - static inline void VerifyBarriers(JSRuntime* rt, VerifierType type) { @@ -1287,8 +1274,6 @@ MaybeVerifyBarriers(JSContext* cx, bool always = false) { } -#endif - /* * Instances of this class set the |JSRuntime::suppressGC| flag for the duration * that they are live. Use of this class is highly discouraged. Please carefully |