Index: src/arm/macro-assembler-arm.cc |
=================================================================== |
--- src/arm/macro-assembler-arm.cc (revision 4568) |
+++ src/arm/macro-assembler-arm.cc (working copy) |
@@ -232,6 +232,13 @@ |
} |
+void MacroAssembler::StoreRoot(Register source, |
+ Heap::RootListIndex index, |
+ Condition cond) { |
+ str(source, MemOperand(roots, index << kPointerSizeLog2), cond); |
+} |
+ |
+ |
// Will clobber 4 registers: object, offset, scratch, ip. The |
// register 'object' contains a heap object pointer. The heap object |
// tag is shifted away. |