mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
Bug 651546 - Remove stackLimit from GCMarker. r=billm
This commit is contained in:
parent
c2f90d93f5
commit
74ad2fbe60
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user