Bug 1242262 - Remove the last vestiges of JS_GC_MARKING_VALIDATION (it's a GC Zeal mode now). r=terrence

This commit is contained in:
Emanuel Hoogeveen 2016-01-25 06:46:27 +08:00
parent 76e042fcd3
commit d6ca35700a
2 changed files with 2 additions and 7 deletions

View File

@ -18,11 +18,6 @@
#include "gc/StoreBuffer.h"
#include "gc/Tracer.h"
/* Perform validation of incremental marking in debug builds but not on B2G. */
#if defined(DEBUG) && !defined(MOZ_B2G)
#define JS_GC_MARKING_VALIDATION
#endif
namespace js {
class AutoLockGC;
@ -1182,7 +1177,7 @@ class GCRuntime
js::gc::ZoneList zonesToMaybeCompact;
ArenaHeader* relocatedArenasToRelease;
#ifdef JS_GC_MARKING_VALIDATION
#ifdef JS_GC_ZEAL
js::gc::MarkingValidator* markingValidator;
#endif

View File

@ -1150,7 +1150,7 @@ GCRuntime::GCRuntime(JSRuntime* rt) :
arenasAllocatedDuringSweep(nullptr),
startedCompacting(false),
relocatedArenasToRelease(nullptr),
#ifdef JS_GC_MARKING_VALIDATION
#ifdef JS_GC_ZEAL
markingValidator(nullptr),
#endif
interFrameGC(false),