Reviewers: Kasper Lund,

Description:
Don't blindly use blx instruction without knowing whether the CPU
supports it.

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

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

Affected files:
   M     src/codegen-arm.cc


Index: src/codegen-arm.cc
===================================================================
--- src/codegen-arm.cc  (revision 1720)
+++ src/codegen-arm.cc  (working copy)
@@ -4574,7 +4574,7 @@
      __ swi(swi_number);
  #else
      // Actually call the add routine written in C.
-    __ blx(r5);
+    __ Call(r5);
  #endif
      // Store answer in the overwritable heap number.
      __ pop(r4);



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

Reply via email to