Win64 fixes.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 7 Feb 2014 07:44:19 +0000 (07:44 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 7 Feb 2014 07:44:19 +0000 (07:44 +0000)
TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/157243004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-assembler-x64.cc

index 23c7465..4fa5ffe 100644 (file)
@@ -179,10 +179,10 @@ TEST(AssemblerX64XchglOperations) {
   Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size));
 
   __ movq(rax, Operand(arg1, 0));
-  __ movq(rdx, Operand(arg2, 0));
-  __ xchgl(rax, rdx);
+  __ movq(r11, Operand(arg2, 0));
+  __ xchgl(rax, r11);
   __ movq(Operand(arg1, 0), rax);
-  __ movq(Operand(arg2, 0), rdx);
+  __ movq(Operand(arg2, 0), r11);
   __ ret(0);
 
   CodeDesc desc;
@@ -279,8 +279,8 @@ TEST(AssemblerX64TestlOperations) {
   // Set rax with the ZF flag of the testl instruction.
   Label done;
   __ movq(rax, Immediate(1));
-  __ movq(rdx, Operand(arg2, 0));
-  __ testl(Operand(arg1, 0), rdx);
+  __ movq(r11, Operand(arg2, 0));
+  __ testl(Operand(arg1, 0), r11);
   __ j(zero, &done, Label::kNear);
   __ movq(rax, Immediate(0));
   __ bind(&done);