| Index: runtime/vm/intermediate_language.cc
|
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
|
| index 373aa4837298944ff54ad66012e352e8488f9196..78675d997f146eea70050cdb8e44299b502e9ff2 100644
|
| --- a/runtime/vm/intermediate_language.cc
|
| +++ b/runtime/vm/intermediate_language.cc
|
| @@ -3125,7 +3125,7 @@ void InstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| }
|
| compiler->AddCurrentDescriptor(RawPcDescriptors::kIcCall, deopt_id(),
|
| token_pos());
|
| - compiler->RecordAfterCall(this);
|
| + compiler->RecordAfterCall(this, FlowGraphCompiler::kHasResult);
|
|
|
| if (compiler->is_optimizing()) {
|
| __ PopLocal(locs()->out(0).reg());
|
| @@ -3273,7 +3273,7 @@ void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| __ StaticCall(ArgumentCount(), argdesc_kidx);
|
| compiler->AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id(),
|
| token_pos());
|
| - compiler->RecordAfterCall(this);
|
| + compiler->RecordAfterCall(this, FlowGraphCompiler::kHasResult);
|
| __ PopLocal(locs()->out(0).reg());
|
| } else {
|
| const intptr_t ic_data_kidx = __ AddConstant(*call_ic_data);
|
| @@ -3281,7 +3281,7 @@ void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| __ IndirectStaticCall(ArgumentCount(), argdesc_kidx);
|
| compiler->AddCurrentDescriptor(RawPcDescriptors::kUnoptStaticCall,
|
| deopt_id(), token_pos());
|
| - compiler->RecordAfterCall(this);
|
| + compiler->RecordAfterCall(this, FlowGraphCompiler::kHasResult);
|
| }
|
| #endif // !defined(TARGET_ARCH_DBC)
|
| }
|
|
|