| Index: runtime/vm/intermediate_language_arm.cc
|
| diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc
|
| index 45ec0271a6238b4586599f4380890875895891d0..9ba9a16c820b9220b8c937299d748b8ac0f7ce44 100644
|
| --- a/runtime/vm/intermediate_language_arm.cc
|
| +++ b/runtime/vm/intermediate_language_arm.cc
|
| @@ -6645,13 +6645,10 @@ LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone,
|
| void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| 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 ARM 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);
|
|
|