Reland changeset 6b85b16dc226 (bug 958940) due to accidental backout rs=jesup

This commit is contained in:
Randell Jesup 2014-04-07 15:46:21 -04:00
parent a1f8a49d94
commit c8a9435939
2 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ MarkConservativeStackRoots(JSTracer *trc, bool useSavedRoots)
uintptr_t *stackMin, *stackEnd;
#if JS_STACK_GROWTH_DIRECTION > 0
stackMin = rt->nativeStackBase;
stackMin = reinterpret_cast<uintptr_t *>(rt->nativeStackBase);
stackEnd = cgcd->nativeStackTop;
#else
stackMin = cgcd->nativeStackTop + 1;

View File

@ -318,7 +318,7 @@ JSRuntime::JSRuntime(JSRuntime *parentRuntime, JSUseHelperThreads useHelperThrea
PodZero(&asmJSCacheOps);
#if JS_STACK_GROWTH_DIRECTION > 0
nativeStackLimit = UINTPTR_MAX;
mainThread.nativeStackLimit = UINTPTR_MAX;
#endif
}