| Index: runtime/vm/flow_graph_compiler_ia32.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
|
| index 552ac80c8910ac889a35449af9947d0434e14db9..88d95b9268e71d34bb778d850afe17f929bf173a 100644
|
| --- a/runtime/vm/flow_graph_compiler_ia32.cc
|
| +++ b/runtime/vm/flow_graph_compiler_ia32.cc
|
| @@ -1084,8 +1084,7 @@ void FlowGraphCompiler::GenerateCall(TokenPosition token_pos,
|
| RawPcDescriptors::Kind kind,
|
| LocationSummary* locs) {
|
| __ Call(stub_entry);
|
| - AddCurrentDescriptor(kind, Thread::kNoDeoptId, token_pos);
|
| - RecordSafepoint(locs);
|
| + EmitCallsiteMetaData(token_pos, Thread::kNoDeoptId, kind, locs);
|
| }
|
|
|
|
|
| @@ -1095,8 +1094,7 @@ void FlowGraphCompiler::GenerateDartCall(intptr_t deopt_id,
|
| RawPcDescriptors::Kind kind,
|
| LocationSummary* locs) {
|
| __ Call(stub_entry);
|
| - AddCurrentDescriptor(kind, deopt_id, token_pos);
|
| - RecordSafepoint(locs);
|
| + EmitCallsiteMetaData(token_pos, deopt_id, kind, locs);
|
| // 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);
|
| @@ -1116,8 +1114,7 @@ void FlowGraphCompiler::GenerateRuntimeCall(TokenPosition token_pos,
|
| intptr_t argument_count,
|
| LocationSummary* locs) {
|
| __ CallRuntime(entry, argument_count);
|
| - AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id, token_pos);
|
| - RecordSafepoint(locs);
|
| + EmitCallsiteMetaData(token_pos, deopt_id, RawPcDescriptors::kOther, locs);
|
| if (deopt_id != Thread::kNoDeoptId) {
|
| // Marks either the continuation point in unoptimized code or the
|
| // deoptimization point in optimized code, after call.
|
| @@ -1248,6 +1245,7 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall(
|
| // arguments are removed.
|
| AddCurrentDescriptor(RawPcDescriptors::kDeopt, deopt_id_after, token_pos);
|
| }
|
| + EmitCatchEntryState(pending_deoptimization_env_, try_index);
|
| __ Drop(argument_count);
|
| }
|
|
|
|
|