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

Unified Diff: runtime/vm/intermediate_language.h

Issue 1695253002: VM: Use BlockIterator in the optimizer consistently for iterating the flow graph (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index 886a2f5977fc2c353098a984722f62bd755456df..a6d8a0f3be477c0e52f02a02762291e39d84ee59 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -8173,7 +8173,7 @@ class Environment : public ZoneAllocated {
class FlowGraphVisitor : public ValueObject {
public:
explicit FlowGraphVisitor(const GrowableArray<BlockEntryInstr*>& block_order)
- : block_order_(block_order), current_iterator_(NULL) { }
+ : current_iterator_(NULL), block_order_(block_order) { }
virtual ~FlowGraphVisitor() { }
ForwardInstructionIterator* current_iterator() const {
@@ -8194,10 +8194,10 @@ class FlowGraphVisitor : public ValueObject {
#undef DECLARE_VISIT_INSTRUCTION
protected:
- const GrowableArray<BlockEntryInstr*>& block_order_;
ForwardInstructionIterator* current_iterator_;
private:
+ const GrowableArray<BlockEntryInstr*>& block_order_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
};
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698