| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc
|
| index 265fb3a78dd39877f1e18b4237164d72e9406261..84e984c95f7296bf601a01c584fb1910b679533c 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm.cc
|
| @@ -1399,6 +1399,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) {
|
|
|