Index: src/arm/macro-assembler-arm.cc |
=================================================================== |
--- src/arm/macro-assembler-arm.cc (revision 10343) |
+++ src/arm/macro-assembler-arm.cc (working copy) |
@@ -396,14 +396,14 @@ |
void MacroAssembler::LoadRoot(Register destination, |
Heap::RootListIndex index, |
Condition cond) { |
- ldr(destination, MemOperand(roots, index << kPointerSizeLog2), cond); |
+ ldr(destination, MemOperand(kRootRegister, index << kPointerSizeLog2), cond); |
} |
void MacroAssembler::StoreRoot(Register source, |
Heap::RootListIndex index, |
Condition cond) { |
- str(source, MemOperand(roots, index << kPointerSizeLog2), cond); |
+ str(source, MemOperand(kRootRegister, index << kPointerSizeLog2), cond); |
} |