| Index: runtime/vm/flow_graph_compiler_dbc.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_dbc.cc b/runtime/vm/flow_graph_compiler_dbc.cc
|
| index 2b1763eaa1e370191cd0070c6fb8bcef9ad73c13..9f0aee9d0c7830be6eaada6076e2a4632c8f5983 100644
|
| --- a/runtime/vm/flow_graph_compiler_dbc.cc
|
| +++ b/runtime/vm/flow_graph_compiler_dbc.cc
|
| @@ -194,10 +194,12 @@ void FlowGraphCompiler::RecordAfterCall(Instruction* instr) {
|
| // hence the difference.
|
| pending_deoptimization_env_->DropArguments(instr->ArgumentCount());
|
| AddDeoptIndexAtCall(deopt_id_after);
|
| + // This descriptor is needed for exception handling in optimized code.
|
| + AddCurrentDescriptor(RawPcDescriptors::kOther,
|
| + deopt_id_after, instr->token_pos());
|
| } else {
|
| // Add deoptimization continuation point after the call and before the
|
| // arguments are removed.
|
| - // In optimized code this descriptor is needed for exception handling.
|
| AddCurrentDescriptor(RawPcDescriptors::kDeopt,
|
| deopt_id_after,
|
| instr->token_pos());
|
|
|