| Index: runtime/vm/intermediate_language_mips.cc
|
| diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc
|
| index 1cd334db1ac9e92c7623aa88b6b705da0959f3a8..15fc876447e14290bcace045e6ef32ca99e79471 100644
|
| --- a/runtime/vm/intermediate_language_mips.cc
|
| +++ b/runtime/vm/intermediate_language_mips.cc
|
| @@ -5382,13 +5382,10 @@ void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| __ Comment("GotoInstr");
|
| if (!compiler->is_optimizing()) {
|
| if (FLAG_emit_edge_counters) {
|
| - compiler->EmitEdgeCounter();
|
| + compiler->EmitEdgeCounter(block()->preorder_number());
|
| }
|
| // Add a deoptimization descriptor for deoptimizing instructions that
|
| - // may be inserted before this instruction. On MIPS this descriptor
|
| - // points after the edge counter code so that we can reuse the same
|
| - // pattern matching code as at call sites, which matches backwards from
|
| - // the end of the pattern.
|
| + // may be inserted before this instruction.
|
| compiler->AddCurrentDescriptor(RawPcDescriptors::kDeopt,
|
| GetDeoptId(),
|
| Scanner::kNoSourcePos);
|
|
|