Revision: 19947
Author:   [email protected]
Date:     Fri Mar 14 18:11:27 2014 UTC
Log:      A64: fix restoring of registers in deopt_every_n_times.

BUG=352656
LOG=N
[email protected]

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

Modified:
 /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc

=======================================
--- /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Fri Mar 14 15:17:34 2014 UTC +++ /branches/bleeding_edge/src/a64/lithium-codegen-a64.cc Fri Mar 14 18:11:27 2014 UTC
@@ -1010,7 +1010,7 @@
     __ B(gt, &not_zero);
     __ Mov(w1, FLAG_deopt_every_n_times);
     __ Str(w1, MemOperand(x0));
-    __ Pop(x0, x1, x2);
+    __ Pop(x2, x1, x0);
     ASSERT(frame_is_built_);
     __ Call(entry, RelocInfo::RUNTIME_ENTRY);
     __ Unreachable();
@@ -1018,7 +1018,7 @@
     __ Bind(&not_zero);
     __ Str(w1, MemOperand(x0));
     __ Msr(NZCV, x2);
-    __ Pop(x0, x1, x2);
+    __ Pop(x2, x1, x0);
   }

   if (info()->ShouldTrapOnDeopt()) {

--
--
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/d/optout.

Reply via email to