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:
fschneider@chromium.org 2011-01-28 17:24:10 +00:00
parent 78b9981b90
commit e3366d8bf5

View File

@ -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);
}