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
3c2c2dbba6
commit
bc9a659fe7
@ -758,7 +758,7 @@ ContextStack::pushDummyFrame(JSContext *cx, JSCompartment *dest, JSObject &scope
|
||||
uintN nvars = VALUES_PER_STACK_FRAME;
|
||||
Value *firstUnused = ensureOnTop(cx, REPORT_ERROR, nvars, CAN_EXTEND, &dfg->pushedSeg_, dest);
|
||||
if (!firstUnused)
|
||||
return NULL;
|
||||
return false;
|
||||
|
||||
StackFrame *fp = reinterpret_cast<StackFrame *>(firstUnused);
|
||||
fp->initDummyFrame(cx, scopeChain);
|
||||
|
Loading…
Reference in New Issue
Block a user