Reviewers: Rodolph Perfetta (ARM), ulan,

Description:
A64: Fix CallStubCompiler::CompileArrayPushCall

The receiver is now stored in x0, so we can't use it as scratch register
anymore.

BUG=none
[email protected],[email protected]
LOG=n

Please review this at https://codereview.chromium.org/143303004/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/a64

Affected files (+1, -1 lines):
  M src/a64/stub-cache-a64.cc


Index: src/a64/stub-cache-a64.cc
diff --git a/src/a64/stub-cache-a64.cc b/src/a64/stub-cache-a64.cc
index b8adb5d100473e31af119a1ee2d7cd742d731974..f7a94c75006d32813d5d72399eec000974e37f01 100644
--- a/src/a64/stub-cache-a64.cc
+++ b/src/a64/stub-cache-a64.cc
@@ -1751,7 +1751,7 @@ Handle<Code> CallStubCompiler::CompileArrayPushCall(
       __ Bind(&check_double);
       // Check that the elements are in fast mode and writable.
       __ CheckMap(elements,
-                  x0,
+                  x10,
                   Heap::kFixedDoubleArrayMapRootIndex,
                   &call_builtin,
                   DONT_DO_SMI_CHECK);


--
--
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