Bug 1124581 - Remove dead code related to conservative scanner r=terrence

This commit is contained in:
Jon Coppeard 2015-01-27 10:21:55 +00:00
parent dbe1564b12
commit f481ffbe47
2 changed files with 0 additions and 17 deletions

View File

@ -219,7 +219,6 @@ gc::GCRuntime::startVerifyPreBarriers()
/* Create the root node. */
trc->curnode = MakeNode(trc, nullptr, JSGCTraceKind(0));
/* We want MarkRuntime to save the roots to gcSavedRoots. */
incrementalState = MARK_ROOTS;
/* Make all the roots be edges emanating from the root node. */

View File

@ -496,22 +496,6 @@ class PerThreadData : public PerThreadDataFriendFields
JSRuntime *runtime_;
public:
/*
* We save all conservative scanned roots in this vector so that
* conservative scanning can be "replayed" deterministically. In DEBUG mode,
* this allows us to run a non-incremental GC after every incremental GC to
* ensure that no objects were missed.
*/
#ifdef DEBUG
struct SavedGCRoot {
void *thing;
JSGCTraceKind kind;
SavedGCRoot(void *thing, JSGCTraceKind kind) : thing(thing), kind(kind) {}
};
js::Vector<SavedGCRoot, 0, js::SystemAllocPolicy> gcSavedRoots;
#endif
#ifdef JS_TRACE_LOGGING
TraceLoggerThread *traceLogger;
#endif