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
parent 78b9981b
......@@ -70,9 +70,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) {
__ Ret();
__ bind(&call_builtin);
__ pop(r2); // Pop return address.
__ push(r0);
__ push(r2); // Push return address.
__ InvokeBuiltin(Builtins::TO_NUMBER, JUMP_JS);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment