| Index: runtime/vm/flow_graph_compiler_arm64.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_arm64.cc (revision 42124)
|
| +++ runtime/vm/flow_graph_compiler_arm64.cc (working copy)
|
| @@ -1445,7 +1445,8 @@
|
| }
|
|
|
| // Store general purpose registers with the highest register number at the
|
| - // lowest address.
|
| + // lowest address. The order in which the registers are pushed must match the
|
| + // order in which the registers are encoded in the safe point's stack map.
|
| for (intptr_t reg_idx = 0; reg_idx < kNumberOfCpuRegisters; ++reg_idx) {
|
| Register reg = static_cast<Register>(reg_idx);
|
| if (locs->live_registers()->ContainsRegister(reg)) {
|
|
|