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
This commit is contained in:
parent
42dc3faf9a
commit
a9d8970bf6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user