Revert "Restore actual arguments of inlined frames (Bug 732853 part 1, r=dvander)"

This reverts commit e6599744fd1e2ce7bbaf15d34ebdf377272370c3.
This commit is contained in:
Nicolas Pierron 2012-03-22 12:00:01 -07:00
parent 3c1f627ea3
commit 7c75df89af

View File

@ -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.