| Index: runtime/vm/flow_graph_compiler_arm64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc
|
| index e5f42f0dc74ed59e5f81600f523b2e744416c11c..c9574058f23fc3748335bcfb6673ebba105138f5 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm64.cc
|
| @@ -1404,6 +1404,10 @@ void FlowGraphCompiler::EmitEqualityRegRegCompare(Register left,
|
| // This function must be in sync with FlowGraphCompiler::RecordSafepoint and
|
| // FlowGraphCompiler::SlowPathEnvironmentFor.
|
| void FlowGraphCompiler::SaveLiveRegisters(LocationSummary* locs) {
|
| +#if defined(DEBUG)
|
| + locs->CheckWritableInputs();
|
| +#endif
|
| +
|
| // TODO(vegorov): consider saving only caller save (volatile) registers.
|
| const intptr_t fpu_regs_count = locs->live_registers()->FpuRegisterCount();
|
| if (fpu_regs_count > 0) {
|
|
|