| Index: runtime/vm/assembler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/assembler_arm.cc (revision 40650)
|
| +++ runtime/vm/assembler_arm.cc (working copy)
|
| @@ -2376,8 +2376,8 @@
|
|
|
|
|
| void Assembler::BranchLink(const ExternalLabel* label) {
|
| - LoadImmediate(IP, label->address()); // Target address is never patched.
|
| - blx(IP); // Use blx instruction so that the return branch prediction works.
|
| + LoadImmediate(LR, label->address()); // Target address is never patched.
|
| + blx(LR); // Use blx instruction so that the return branch prediction works.
|
| }
|
|
|
|
|
| @@ -2949,7 +2949,7 @@
|
|
|
| void Assembler::EnterCallRuntimeFrame(intptr_t frame_space) {
|
| // Preserve volatile CPU registers.
|
| - EnterFrame(kDartVolatileCpuRegs | (1 << FP) | (1 << LR), 0);
|
| + EnterFrame(kDartVolatileCpuRegs | (1 << FP), 0);
|
|
|
| // Preserve all volatile FPU registers.
|
| if (TargetCPUFeatures::vfp_supported()) {
|
| @@ -2994,7 +2994,7 @@
|
| }
|
|
|
| // Restore volatile CPU registers.
|
| - LeaveFrame(kDartVolatileCpuRegs | (1 << FP) | (1 << LR));
|
| + LeaveFrame(kDartVolatileCpuRegs | (1 << FP));
|
| }
|
|
|
|
|
|
|