Index: src/arm/deoptimizer-arm.cc |
=================================================================== |
--- src/arm/deoptimizer-arm.cc (revision 6418) |
+++ src/arm/deoptimizer-arm.cc (working copy) |
@@ -367,7 +367,7 @@ |
// Copy core registers into FrameDescription::registers_[kNumRegisters]. |
ASSERT(Register::kNumRegisters == kNumberOfRegisters); |
for (int i = 0; i < kNumberOfRegisters; i++) { |
- int offset = (i * kIntSize) + FrameDescription::registers_offset(); |
+ int offset = (i * kPointerSize) + FrameDescription::registers_offset(); |
__ ldr(r2, MemOperand(sp, i * kPointerSize)); |
__ str(r2, MemOperand(r1, offset)); |
} |
@@ -456,7 +456,7 @@ |
// Push the registers from the last output frame. |
for (int i = kNumberOfRegisters - 1; i >= 0; i--) { |
- int offset = (i * kIntSize) + FrameDescription::registers_offset(); |
+ int offset = (i * kPointerSize) + FrameDescription::registers_offset(); |
__ ldr(r6, MemOperand(r2, offset)); |
__ push(r6); |
} |