| Index: runtime/vm/flow_graph_compiler_x64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
|
| index 8b41b844e070969c03c143a7baac6211cd4e774d..ae8b4c42484bbf9fe8e415e517ff3e7731eb25f1 100644
|
| --- a/runtime/vm/flow_graph_compiler_x64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_x64.cc
|
| @@ -1442,6 +1442,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): avoid saving non-volatile registers.
|
| __ PushRegisters(locs->live_registers()->cpu_registers(),
|
| locs->live_registers()->fpu_registers());
|
|
|