mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Revert "Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander)"
This reverts commit e6599744fd1e2ce7bbaf15d34ebdf377272370c3.
This commit is contained in:
parent
3c1f627ea3
commit
7c75df89af
@ -270,7 +270,7 @@ PushInlinedFrame(JSContext *cx, StackFrame *callerFrame)
|
||||
|
||||
JSFunction *fun = calleeVal.toObject().toFunction();
|
||||
JSScript *script = fun->script();
|
||||
CallArgs inlineArgs = CallArgsFromSp(callerArgc, regs.sp);
|
||||
CallArgs inlineArgs = CallArgsFromArgv(fun->nargs, regs.sp - callerArgc);
|
||||
|
||||
// Bump the stack pointer to make it look like the inline args have been pushed, but they will
|
||||
// really get filled in by RestoreOneFrame.
|
||||
|
Loading…
Reference in New Issue
Block a user