Reviewers: Vyacheslav Egorov,

Description:
Fix bug in tail call of builtin in the ToNumber stub on ARM.


Please review this at http://codereview.chromium.org/6255017/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/arm/code-stubs-arm.cc


Index: src/arm/code-stubs-arm.cc
===================================================================
--- src/arm/code-stubs-arm.cc   (revision 6527)
+++ src/arm/code-stubs-arm.cc   (working copy)
@@ -70,9 +70,7 @@
   __ Ret();

   __ bind(&call_builtin);
-  __ pop(r2);  // Pop return address.
   __ push(r0);
-  __ push(r2);  // Push return address.
   __ InvokeBuiltin(Builtins::TO_NUMBER, JUMP_JS);
 }



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to