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

Unified Diff: runtime/vm/flow_graph.h

Issue 1867913004: Specialize instance calls when the call receiver is the method receiver and the method class has a … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/cha.cc ('k') | runtime/vm/flow_graph_compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index c19dc0c33ee8e68a2fc9374752c53bfb0cc00ed3..0c7aa526cd60c97caf23d9b82f3c6a36fe7d5575 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -303,6 +303,8 @@ class FlowGraph : public ZoneAllocated {
// Remove environments from the instructions which do not deoptimize.
void EliminateEnvironments();
+ bool IsReceiver(Definition* def) const;
+
private:
friend class IfConverter;
friend class BranchSimplifier;
@@ -355,7 +357,6 @@ class FlowGraph : public ZoneAllocated {
Value* use,
bool is_environment_use);
- bool IsReceiver(Definition* def) const;
void ComputeIsReceiver(PhiInstr* phi) const;
void ComputeIsReceiverRecursive(PhiInstr* phi,
GrowableArray<PhiInstr*>* unmark) const;
« no previous file with comments | « runtime/vm/cha.cc ('k') | runtime/vm/flow_graph_compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698