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

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

Issue 10350003: Step toward eliminating increment nodes, starting with increment local. Fix a bug in evaluating sid… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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
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_BUILDER_H_ 5 #ifndef VM_FLOW_GRAPH_BUILDER_H_
6 #define VM_FLOW_GRAPH_BUILDER_H_ 6 #define VM_FLOW_GRAPH_BUILDER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // in the EffectGraphVisitor), a next temporary index, and an intermediate 215 // in the EffectGraphVisitor), a next temporary index, and an intermediate
216 // language Value. 216 // language Value.
217 class ValueGraphVisitor : public EffectGraphVisitor { 217 class ValueGraphVisitor : public EffectGraphVisitor {
218 public: 218 public:
219 ValueGraphVisitor(FlowGraphBuilder* owner, intptr_t temp_index) 219 ValueGraphVisitor(FlowGraphBuilder* owner, intptr_t temp_index)
220 : EffectGraphVisitor(owner, temp_index), value_(NULL) { } 220 : EffectGraphVisitor(owner, temp_index), value_(NULL) { }
221 221
222 // Visit functions overridden by this class. 222 // Visit functions overridden by this class.
223 virtual void VisitLiteralNode(LiteralNode* node); 223 virtual void VisitLiteralNode(LiteralNode* node);
224 virtual void VisitAssignableNode(AssignableNode* node); 224 virtual void VisitAssignableNode(AssignableNode* node);
225 virtual void VisitIncrOpLocalNode(IncrOpLocalNode* node);
226 virtual void VisitIncrOpInstanceFieldNode(IncrOpInstanceFieldNode* node); 225 virtual void VisitIncrOpInstanceFieldNode(IncrOpInstanceFieldNode* node);
227 virtual void VisitIncrOpIndexedNode(IncrOpIndexedNode* node); 226 virtual void VisitIncrOpIndexedNode(IncrOpIndexedNode* node);
228 virtual void VisitConstructorCallNode(ConstructorCallNode* node); 227 virtual void VisitConstructorCallNode(ConstructorCallNode* node);
229 virtual void VisitBinaryOpNode(BinaryOpNode* node); 228 virtual void VisitBinaryOpNode(BinaryOpNode* node);
230 virtual void VisitConditionalExprNode(ConditionalExprNode* node); 229 virtual void VisitConditionalExprNode(ConditionalExprNode* node);
231 virtual void VisitLoadLocalNode(LoadLocalNode* node); 230 virtual void VisitLoadLocalNode(LoadLocalNode* node);
232 virtual void VisitThrowNode(ThrowNode* node); 231 virtual void VisitThrowNode(ThrowNode* node);
233 232
234 Value* value() const { return value_; } 233 Value* value() const { return value_; }
235 234
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // Output parameters. 315 // Output parameters.
317 TargetEntryInstr** true_successor_address_; 316 TargetEntryInstr** true_successor_address_;
318 TargetEntryInstr** false_successor_address_; 317 TargetEntryInstr** false_successor_address_;
319 318
320 intptr_t condition_token_index_; 319 intptr_t condition_token_index_;
321 }; 320 };
322 321
323 } // namespace dart 322 } // namespace dart
324 323
325 #endif // VM_FLOW_GRAPH_BUILDER_H_ 324 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698