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

Unified Diff: runtime/vm/flow_graph.h

Issue 1851653002: Fix bug in receiver-phi computation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed recursive version Created 4 years, 9 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 | « no previous file | runtime/vm/flow_graph.cc » ('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 992ab519fb5762b51ab99ce67abff1f6e4b035d5..c19dc0c33ee8e68a2fc9374752c53bfb0cc00ed3 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -356,7 +356,9 @@ class FlowGraph : public ZoneAllocated {
bool is_environment_use);
bool IsReceiver(Definition* def) const;
- void ComputeIsReceiverRecursive(PhiInstr* phi, BitVector* processed) const;
+ void ComputeIsReceiver(PhiInstr* phi) const;
+ void ComputeIsReceiverRecursive(PhiInstr* phi,
+ GrowableArray<PhiInstr*>* unmark) const;
Thread* thread_;
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698