Index: src/x64/macro-assembler-x64.cc |
=================================================================== |
--- src/x64/macro-assembler-x64.cc (revision 4568) |
+++ src/x64/macro-assembler-x64.cc (working copy) |
@@ -50,6 +50,11 @@ |
} |
+void MacroAssembler::StoreRoot(Register source, Heap::RootListIndex index) { |
+ movq(Operand(kRootRegister, index << kPointerSizeLog2), source); |
+} |
+ |
+ |
void MacroAssembler::PushRoot(Heap::RootListIndex index) { |
push(Operand(kRootRegister, index << kPointerSizeLog2)); |
} |