Chromium Code Reviews| Index: runtime/vm/instructions_arm.cc |
| diff --git a/runtime/vm/instructions_arm.cc b/runtime/vm/instructions_arm.cc |
| index 6709c19c93f070173a06e95088e23f42dd85ca1c..6f52b56d142dda0050582c2c03f3f896e6a28837 100644 |
| --- a/runtime/vm/instructions_arm.cc |
| +++ b/runtime/vm/instructions_arm.cc |
| @@ -150,9 +150,7 @@ uword InstructionPattern::DecodeLoadWordFromPool(uword end, |
| end = DecodeLoadWordImmediate(end, reg, &offset); |
| } |
| } |
| - offset += kHeapObjectTag; |
| - ASSERT(Utils::IsAligned(offset, 4)); |
|
rmacnak
2015/08/20 20:44:54
Consider pushing the alignment assert into ObjectP
Florian Schneider
2015/08/21 07:45:09
Done (in my other CL).
|
| - *index = (offset - Array::data_offset()) / 4; |
| + *index = ObjectPool::IndexFromOffset(offset); |
| return start; |
| } |