Chromium Code Reviews| Index: src/x64/macro-assembler-x64.cc |
| =================================================================== |
| --- src/x64/macro-assembler-x64.cc (revision 2261) |
| +++ src/x64/macro-assembler-x64.cc (working copy) |
| @@ -309,6 +309,12 @@ |
| } |
| +void MacroAssembler::Cmp(const Operand& dst, Handle<Object> source) { |
| + Move(kScratchRegister, source); |
| + cmpq(dst, kScratchRegister); |
| +} |
| + |
| + |
| void MacroAssembler::Push(Handle<Object> source) { |
| Move(kScratchRegister, source); |
| push(kScratchRegister); |