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

Side by Side Diff: runtime/vm/flow_graph_optimizer.h

Issue 10830339: Propagate class ids using existing type propagation framework. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_ 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_
6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ 6 #define VM_FLOW_GRAPH_OPTIMIZER_H_
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/flow_graph.h" 9 #include "vm/flow_graph.h"
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void VisitAssertAssignable(AssertAssignableComp* comp, 90 virtual void VisitAssertAssignable(AssertAssignableComp* comp,
91 BindInstr* instr); 91 BindInstr* instr);
92 virtual void VisitAssertBoolean(AssertBooleanComp* comp, BindInstr* instr); 92 virtual void VisitAssertBoolean(AssertBooleanComp* comp, BindInstr* instr);
93 virtual void VisitInstanceOf(InstanceOfComp* comp, BindInstr* instr); 93 virtual void VisitInstanceOf(InstanceOfComp* comp, BindInstr* instr);
94 94
95 virtual void VisitGraphEntry(GraphEntryInstr* graph_entry); 95 virtual void VisitGraphEntry(GraphEntryInstr* graph_entry);
96 virtual void VisitJoinEntry(JoinEntryInstr* join_entry); 96 virtual void VisitJoinEntry(JoinEntryInstr* join_entry);
97 virtual void VisitBind(BindInstr* bind); 97 virtual void VisitBind(BindInstr* bind);
98 virtual void VisitPhi(PhiInstr* phi); 98 virtual void VisitPhi(PhiInstr* phi);
99 virtual void VisitParameter(ParameterInstr* param); 99 virtual void VisitParameter(ParameterInstr* param);
100 virtual void VisitPushArgument(PushArgumentInstr* bind);
100 101
101 private: 102 private:
102 const ParsedFunction& parsed_function_; 103 const ParsedFunction& parsed_function_;
103 const bool is_ssa_; // TODO(regis): Remove once virtual frame backend is 104 const bool is_ssa_; // TODO(regis): Remove once virtual frame backend is
104 // removed. 105 // removed.
105 bool still_changing_; 106 bool still_changing_;
106 DISALLOW_COPY_AND_ASSIGN(FlowGraphTypePropagator); 107 DISALLOW_COPY_AND_ASSIGN(FlowGraphTypePropagator);
107 }; 108 };
108 109
109 } // namespace dart 110 } // namespace dart
110 111
111 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 112 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698