| Index: runtime/vm/flow_graph_compiler_arm64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc
|
| index d0c066e387e63736226338e7fe051cd29cd3feb4..10096c4b31049d702af698358e9761c722b7c30c 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm64.cc
|
| @@ -1191,13 +1191,7 @@ void FlowGraphCompiler::GenerateStaticDartCall(intptr_t deopt_id,
|
| // Marks either the continuation point in unoptimized code or the
|
| // deoptimization point in optimized code, after call.
|
| const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id);
|
| - if (is_optimizing()) {
|
| - AddDeoptIndexAtCall(deopt_id_after, token_pos);
|
| - } else {
|
| - // Add deoptimization continuation point after the call and before the
|
| - // arguments are removed.
|
| - AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos);
|
| - }
|
| + AddDeoptIndexAtCall(deopt_id_after, token_pos);
|
| AddStaticCallTarget(target);
|
| }
|
|
|
|
|