Bug 651546 - Remove stackLimit from GCMarker. r=billm

This commit is contained in:
Gregor Wagner 2011-04-20 12:22:04 -07:00
parent c2f90d93f5
commit 74ad2fbe60
2 changed files with 0 additions and 3 deletions

View File

@ -1452,7 +1452,6 @@ namespace js {
GCMarker::GCMarker(JSContext *cx)
: color(0),
stackLimit(0),
unmarkedArenaStackTop(NULL),
objStack(cx->runtime->gcMarkStackObjs, sizeof(cx->runtime->gcMarkStackObjs)),
xmlStack(cx->runtime->gcMarkStackXMLs, sizeof(cx->runtime->gcMarkStackXMLs)),
@ -2450,7 +2449,6 @@ MarkAndSweep(JSContext *cx, JSCompartment *comp, JSGCInvocationKind gckind GCTIM
JS_ASSERT(IS_GC_MARKING_TRACER(&gcmarker));
JS_ASSERT(gcmarker.getMarkColor() == BLACK);
rt->gcMarkingTracer = &gcmarker;
gcmarker.stackLimit = cx->stackLimit;
#ifdef JS_THREADSAFE
/*
* cx->gcBackgroundFree is set if we need several mark-and-sweep loops to

View File

@ -1118,7 +1118,6 @@ struct GCMarker : public JSTracer {
uint32 color;
public:
jsuword stackLimit;
/* See comments before delayMarkingChildren is jsgc.cpp. */
js::gc::Arena<js::gc::Cell> *unmarkedArenaStackTop;
#ifdef DEBUG