Revision: 19173
Author:   [email protected]
Date:     Thu Feb  6 18:26:51 2014 UTC
Log: A64: Fix result in CompileStringCharAtCall and CompileStringCharCodeAtCall.

TEST=mjsunit/string-charat
[email protected]

Review URL: https://codereview.chromium.org/129773006
http://code.google.com/p/v8/source/detail?r=19173

Modified:
 /branches/experimental/a64/src/a64/stub-cache-a64.cc

=======================================
--- /branches/experimental/a64/src/a64/stub-cache-a64.cc Thu Feb 6 16:52:30 2014 UTC +++ /branches/experimental/a64/src/a64/stub-cache-a64.cc Thu Feb 6 18:26:51 2014 UTC
@@ -2049,7 +2049,7 @@

   if (index_out_of_range.is_linked()) {
     __ Bind(&index_out_of_range);
-    __ LoadRoot(result, Heap::kNanValueRootIndex);
+    __ LoadRoot(x0, Heap::kNanValueRootIndex);
     __ Drop(argc + 1);
     __ Ret();
   }
@@ -2118,7 +2118,7 @@

   if (index_out_of_range.is_linked()) {
     __ Bind(&index_out_of_range);
-    __ LoadRoot(result, Heap::kempty_stringRootIndex);
+    __ LoadRoot(x0, Heap::kempty_stringRootIndex);
     __ Drop(argc + 1);
     __ Ret();
   }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to