Revision: 17101
Author:   [email protected]
Date:     Fri Oct  4 07:21:31 2013 UTC
Log:      Fix SmiMove unit test.

TEST=cctest/test-macro-assembler-x64.cc
[email protected]

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

Modified:
 /branches/bleeding_edge/test/cctest/test-macro-assembler-x64.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-macro-assembler-x64.cc Wed Oct 2 11:46:01 2013 UTC +++ /branches/bleeding_edge/test/cctest/test-macro-assembler-x64.cc Fri Oct 4 07:21:31 2013 UTC
@@ -141,8 +141,8 @@

static void TestMoveSmi(MacroAssembler* masm, Label* exit, int id, Smi* value) {
   __ movl(rax, Immediate(id));
-  __ Move(rcx, Smi::FromInt(0));
-  __ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(0)));
+  __ Move(rcx, value);
+  __ Set(rdx, reinterpret_cast<intptr_t>(value));
   __ cmpq(rcx, rdx);
   __ j(not_equal, exit);
 }

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