Chromium Code Reviews| Index: runtime/vm/instructions_arm.cc |
| diff --git a/runtime/vm/instructions_arm.cc b/runtime/vm/instructions_arm.cc |
| index eec6cfe364b93941850e62d2e2decda91b765c6e..916a4da4477014ad714330b53b3fbfd038c909eb 100644 |
| --- a/runtime/vm/instructions_arm.cc |
| +++ b/runtime/vm/instructions_arm.cc |
| @@ -65,7 +65,7 @@ NativeCallPattern::NativeCallPattern(uword pc, const Code& code) |
| InstructionPattern::DecodeLoadWordFromPool(native_function_load_end, |
| ®, |
| &native_function_pool_index_); |
| - ASSERT(reg == R5); |
| + ASSERT(reg == R9); |
| } |
| @@ -180,7 +180,7 @@ uword InstructionPattern::DecodeLoadWordFromPool(uword end, |
| uword start = end - Instr::kInstrSize; |
| int32_t instr = Instr::At(start)->InstructionBits(); |
| intptr_t offset = 0; |
| - if ((instr & 0xffff0000) == 0xe5990000) { // ldr reg, [pp, #+offset] |
| + if ((instr & 0xffff0000) == 0xe5950000) { // ldr reg, [pp, #+offset] |
|
Florian Schneider
2015/10/26 17:12:31
I remember these as easy to forget to change, but
rmacnak
2015/10/26 18:01:50
Sounds fine.
|
| offset = instr & 0xfff; |
| *reg = static_cast<Register>((instr & 0xf000) >> 12); |
| } else { |
| @@ -188,13 +188,13 @@ uword InstructionPattern::DecodeLoadWordFromPool(uword end, |
| offset = instr & 0xfff; |
| start -= Instr::kInstrSize; |
| instr = Instr::At(start)->InstructionBits(); |
| - if ((instr & 0xffff0000) == 0xe2890000) { // add reg, pp, operand |
| + if ((instr & 0xffff0000) == 0xe2850000) { // add reg, pp, operand |
| const intptr_t rot = (instr & 0xf00) >> 7; |
| const intptr_t imm8 = instr & 0xff; |
| offset += (imm8 >> rot) | (imm8 << (32 - rot)); |
| *reg = static_cast<Register>((instr & 0xf000) >> 12); |
| } else { |
| - ASSERT((instr & 0xffff0000) == 0xe0890000); // add reg, pp, reg |
| + ASSERT((instr & 0xffff0000) == 0xe0850000); // add reg, pp, reg |
| end = DecodeLoadWordImmediate(end, reg, &offset); |
| } |
| } |
| @@ -210,7 +210,7 @@ RawICData* CallPattern::IcData() { |
| object_pool_, |
| ®, |
| &ic_data_); |
| - ASSERT(reg == R5); |
| + ASSERT(reg == R9); |
| } |
| return ic_data_.raw(); |
| } |