mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Reland changeset 6b85b16dc226 (bug 958940) due to accidental backout rs=jesup
This commit is contained in:
parent
37cf5381bd
commit
80d8facaf9
@ -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;
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user