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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 2716593002: Propagate this-specialization to regular (megamorphic) calls (Closed)
Patch Set: Cleanups Created 3 years, 10 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
Index: runtime/vm/flow_graph_compiler.h
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h
index d51002f58e1b3784bb13a4499eadec76c0c7e8f0..2ca6428bd40b9d6dda5d9e88bbdc6ee5ab4776a5 100644
--- a/runtime/vm/flow_graph_compiler.h
+++ b/runtime/vm/flow_graph_compiler.h
@@ -572,6 +572,8 @@ class FlowGraphCompiler : public ValueObject {
const Array& arguments_descriptor,
intptr_t num_args_tested);
+ static const ICData& TrySpecializeICData(const ICData& ic_data, intptr_t cid);
+
const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data() const {
return *deopt_id_to_ic_data_;
}

Powered by Google App Engine
This is Rietveld 408576698