| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_arm.cc (revision 22334)
|
| +++ runtime/vm/flow_graph_compiler_arm.cc (working copy)
|
| @@ -1193,7 +1193,9 @@
|
| // lowest address.
|
| const intptr_t cpu_registers = locs->live_registers()->cpu_registers();
|
| ASSERT((cpu_registers & ~kAllCpuRegistersList) == 0);
|
| - __ PushList(cpu_registers);
|
| + if (cpu_registers != 0) {
|
| + __ PushList(cpu_registers);
|
| + }
|
| }
|
|
|
|
|
| @@ -1202,7 +1204,9 @@
|
| // lowest address.
|
| const intptr_t cpu_registers = locs->live_registers()->cpu_registers();
|
| ASSERT((cpu_registers & ~kAllCpuRegistersList) == 0);
|
| - __ PopList(cpu_registers);
|
| + if (cpu_registers != 0) {
|
| + __ PopList(cpu_registers);
|
| + }
|
|
|
| const intptr_t fpu_registers = locs->live_registers()->fpu_registers();
|
| if (fpu_registers > 0) {
|
|
|