Fix bug in tail call of builtin in the ToNumber stub on ARM.
Review URL: http://codereview.chromium.org/6255017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6529 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
78b9981b90
commit
e3366d8bf5
@ -70,9 +70,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) {
|
|||||||
__ Ret();
|
__ Ret();
|
||||||
|
|
||||||
__ bind(&call_builtin);
|
__ bind(&call_builtin);
|
||||||
__ pop(r2); // Pop return address.
|
|
||||||
__ push(r0);
|
__ push(r0);
|
||||||
__ push(r2); // Push return address.
|
|
||||||
__ InvokeBuiltin(Builtins::TO_NUMBER, JUMP_JS);
|
__ InvokeBuiltin(Builtins::TO_NUMBER, JUMP_JS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user