Revision: 19103
Author:   [email protected]
Date:     Wed Feb  5 13:46:00 2014 UTC
Log:      A64: Fix the order of pushing general and FP safepoint registers.

TEST=mjsunit/elements-transition
[email protected]

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

Modified:
 /branches/experimental/a64/src/a64/lithium-codegen-a64.h

=======================================
--- /branches/experimental/a64/src/a64/lithium-codegen-a64.h Wed Feb 5 11:19:15 2014 UTC +++ /branches/experimental/a64/src/a64/lithium-codegen-a64.h Wed Feb 5 13:46:00 2014 UTC
@@ -372,8 +372,8 @@
           codegen_->masm_->PushSafepointRegisters();
           break;
         case Safepoint::kWithRegistersAndDoubles:
+          codegen_->masm_->PushSafepointRegisters();
           codegen_->masm_->PushSafepointFPRegisters();
-          codegen_->masm_->PushSafepointRegisters();
           break;
         default:
           UNREACHABLE();
@@ -388,8 +388,8 @@
           codegen_->masm_->PopSafepointRegisters();
           break;
         case Safepoint::kWithRegistersAndDoubles:
+          codegen_->masm_->PopSafepointFPRegisters();
           codegen_->masm_->PopSafepointRegisters();
-          codegen_->masm_->PopSafepointFPRegisters();
           break;
         default:
           UNREACHABLE();

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