| Index: runtime/vm/instructions_mips.cc
|
| diff --git a/runtime/vm/instructions_mips.cc b/runtime/vm/instructions_mips.cc
|
| index 34a5c3a460970d7bb805e91314a6d6fd98c195cb..0d11873052775ad7d602a2e24b61fcb93d36ff79 100644
|
| --- a/runtime/vm/instructions_mips.cc
|
| +++ b/runtime/vm/instructions_mips.cc
|
| @@ -118,9 +118,7 @@ uword InstructionPattern::DecodeLoadWordFromPool(uword end,
|
| // Offset is signed, so add the upper 16 bits.
|
| offset += (instr->UImmField() << 16);
|
| }
|
| - offset += kHeapObjectTag;
|
| - ASSERT(Utils::IsAligned(offset, 4));
|
| - *index = (offset - Array::data_offset()) / 4;
|
| + *index = ObjectPool::IndexFromOffset(offset);
|
| return start;
|
| }
|
|
|
|
|