Index: test/cctest/test-macro-assembler-x64.cc |
diff --git a/test/cctest/test-macro-assembler-x64.cc b/test/cctest/test-macro-assembler-x64.cc |
index fe2269189a013281230b366b22632f85feb47fcf..d9b6e3f081a05ddcc078e05ab16bdff11514d544 100644 |
--- a/test/cctest/test-macro-assembler-x64.cc |
+++ b/test/cctest/test-macro-assembler-x64.cc |
@@ -141,8 +141,8 @@ TEST(Smi) { |
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); |
} |