Commit a9d8970b authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Fix SmiMove unit test.

TEST=cctest/test-macro-assembler-x64.cc
R=ulan@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17101 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 42dc3faf
...@@ -141,8 +141,8 @@ TEST(Smi) { ...@@ -141,8 +141,8 @@ TEST(Smi) {
static void TestMoveSmi(MacroAssembler* masm, Label* exit, int id, Smi* value) { static void TestMoveSmi(MacroAssembler* masm, Label* exit, int id, Smi* value) {
__ movl(rax, Immediate(id)); __ movl(rax, Immediate(id));
__ Move(rcx, Smi::FromInt(0)); __ Move(rcx, value);
__ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(0))); __ Set(rdx, reinterpret_cast<intptr_t>(value));
__ cmpq(rcx, rdx); __ cmpq(rcx, rdx);
__ j(not_equal, exit); __ j(not_equal, exit);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment