Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 2064693003: Remember inside an ICData if it is for a static call or an instance call (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_inliner.cc
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
index e92bc3f89f6b86e5c828199c8dbd0461cb8a41be..b51cfe8433051d6d79ee01ed004149f09b62d040 100644
--- a/runtime/vm/flow_graph_inliner.cc
+++ b/runtime/vm/flow_graph_inliner.cc
@@ -1773,7 +1773,8 @@ TargetEntryInstr* PolymorphicInliner::BuildDecisionGraph() {
String::Handle(old_checks.target_name()),
Array::Handle(old_checks.arguments_descriptor()),
old_checks.deopt_id(),
- 1)); // Number of args tested.
+ 1, // Number of args tested.
+ false)); // is_static_call
for (intptr_t i = 0; i < non_inlined_variants_.length(); ++i) {
new_checks.AddReceiverCheck(non_inlined_variants_[i].cid,
*non_inlined_variants_[i].target,
@@ -2651,7 +2652,8 @@ static bool InlineByteArrayBaseStore(FlowGraph* flow_graph,
i_call->function_name(),
Object::empty_array(), // Dummy args. descr.
Thread::kNoDeoptId,
- 1);
+ 1,
+ false);
value_check.AddReceiverCheck(kSmiCid, target);
break;
}
@@ -2663,7 +2665,8 @@ static bool InlineByteArrayBaseStore(FlowGraph* flow_graph,
i_call->function_name(),
Object::empty_array(), // Dummy args. descr.
Thread::kNoDeoptId,
- 1);
+ 1,
+ false);
value_check.AddReceiverCheck(kSmiCid, target);
}
break;
@@ -2674,7 +2677,8 @@ static bool InlineByteArrayBaseStore(FlowGraph* flow_graph,
i_call->function_name(),
Object::empty_array(), // Dummy args. descr.
Thread::kNoDeoptId,
- 1);
+ 1,
+ false);
value_check.AddReceiverCheck(kDoubleCid, target);
break;
}
@@ -2684,7 +2688,8 @@ static bool InlineByteArrayBaseStore(FlowGraph* flow_graph,
i_call->function_name(),
Object::empty_array(), // Dummy args. descr.
Thread::kNoDeoptId,
- 1);
+ 1,
+ false);
value_check.AddReceiverCheck(kInt32x4Cid, target);
break;
}
@@ -2694,7 +2699,8 @@ static bool InlineByteArrayBaseStore(FlowGraph* flow_graph,
i_call->function_name(),
Object::empty_array(), // Dummy args. descr.
Thread::kNoDeoptId,
- 1);
+ 1,
+ false);
value_check.AddReceiverCheck(kFloat32x4Cid, target);
break;
}
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intrinsifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698