mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No bug - Return 'false' instead of 'NULL' from ContextStack::pushExecuteFrame.
This commit is contained in:
parent
74356d6f43
commit
8a83bebdd9
@ -758,7 +758,7 @@ ContextStack::pushDummyFrame(JSContext *cx, JSCompartment *dest, JSObject &scope
|
|||||||
uintN nvars = VALUES_PER_STACK_FRAME;
|
uintN nvars = VALUES_PER_STACK_FRAME;
|
||||||
Value *firstUnused = ensureOnTop(cx, REPORT_ERROR, nvars, CAN_EXTEND, &dfg->pushedSeg_, dest);
|
Value *firstUnused = ensureOnTop(cx, REPORT_ERROR, nvars, CAN_EXTEND, &dfg->pushedSeg_, dest);
|
||||||
if (!firstUnused)
|
if (!firstUnused)
|
||||||
return NULL;
|
return false;
|
||||||
|
|
||||||
StackFrame *fp = reinterpret_cast<StackFrame *>(firstUnused);
|
StackFrame *fp = reinterpret_cast<StackFrame *>(firstUnused);
|
||||||
fp->initDummyFrame(cx, scopeChain);
|
fp->initDummyFrame(cx, scopeChain);
|
||||||
|
Loading…
Reference in New Issue
Block a user