| Index: runtime/vm/intermediate_language_ia32.cc
|
| diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
|
| index 1e78e29e2a1730f2c555cf25726681b24d2301dc..2865b2611398e6a0fe35dc3859091dd47ff05400 100644
|
| --- a/runtime/vm/intermediate_language_ia32.cc
|
| +++ b/runtime/vm/intermediate_language_ia32.cc
|
| @@ -24,8 +24,8 @@ namespace dart {
|
|
|
| DECLARE_FLAG(bool, emit_edge_counters);
|
| DECLARE_FLAG(int, optimization_counter_threshold);
|
| -DECLARE_FLAG(bool, use_osr);
|
| DECLARE_FLAG(bool, throw_on_javascript_int_overflow);
|
| +DECLARE_FLAG(bool, use_osr);
|
|
|
| // Generic summary for call instructions that have all arguments pushed
|
| // on the stack and return the result in a fixed register EAX.
|
| @@ -5690,36 +5690,6 @@ LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary(
|
| }
|
|
|
|
|
| -void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| - ASSERT(ic_data().NumArgsTested() == 1);
|
| - if (!with_checks()) {
|
| - ASSERT(ic_data().HasOneTarget());
|
| - const Function& target = Function::ZoneHandle(ic_data().GetTargetAt(0));
|
| - compiler->GenerateStaticCall(deopt_id(),
|
| - instance_call()->token_pos(),
|
| - target,
|
| - instance_call()->ArgumentCount(),
|
| - instance_call()->argument_names(),
|
| - locs(),
|
| - ICData::Handle());
|
| - return;
|
| - }
|
| -
|
| - Label* deopt = compiler->AddDeoptStub(
|
| - deopt_id(), ICData::kDeoptPolymorphicInstanceCallTestFail);
|
| - Label ok;
|
| - compiler->EmitTestAndCall(ic_data(),
|
| - instance_call()->ArgumentCount(),
|
| - instance_call()->argument_names(),
|
| - deopt,
|
| - &ok,
|
| - deopt_id(),
|
| - instance_call()->token_pos(),
|
| - locs());
|
| - __ Bind(&ok);
|
| -}
|
| -
|
| -
|
| LocationSummary* BranchInstr::MakeLocationSummary(Zone* zone,
|
| bool opt) const {
|
| comparison()->InitializeLocationSummary(zone, opt);
|
|
|