Chromium Code Reviews| Index: runtime/vm/intermediate_language_dbc.cc |
| diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc |
| index ababea8d202001755c9830b5c39135409b721a7e..207153d4b76931bf30cd873b088c9ccbb0b953f7 100644 |
| --- a/runtime/vm/intermediate_language_dbc.cc |
| +++ b/runtime/vm/intermediate_language_dbc.cc |
| @@ -202,10 +202,9 @@ EMIT_NATIVE_CODE(InstanceOf, |
| __ PushConstant(type()); |
| __ PushConstant(test_cache); |
| __ InstanceOf(negate_result() ? 1 : 0); |
| - compiler->RecordSafepoint(locs()); |
| compiler->AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id(), |
|
Florian Schneider
2016/11/11 23:48:59
Still needed?
zra
2016/11/12 05:29:03
ditto
|
| token_pos()); |
| - |
| + compiler->RecordAfterCall(this); |
| if (compiler->is_optimizing()) { |
| __ PopLocal(locs()->out(0).reg()); |
| } |
| @@ -226,9 +225,9 @@ EMIT_NATIVE_CODE(AssertBoolean, |
| __ Push(locs()->in(0).reg()); |
| } |
| __ AssertBoolean(Isolate::Current()->type_checks() ? 1 : 0); |
| - compiler->RecordSafepoint(locs()); |
| compiler->AddCurrentDescriptor(RawPcDescriptors::kOther, deopt_id(), |
|
Florian Schneider
2016/11/11 23:48:59
Same here.
zra
2016/11/12 05:29:03
ditto
|
| token_pos()); |
| + compiler->RecordAfterCall(this); |
| if (compiler->is_optimizing()) { |
| __ Drop1(); |
| } |