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

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
« no previous file with comments | « runtime/vm/code_generator_x64.cc ('k') | runtime/vm/flow_graph_builder.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_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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // in the EffectGraphVisitor), a next temporary index, and an intermediate 214 // in the EffectGraphVisitor), a next temporary index, and an intermediate
215 // language Value. 215 // language Value.
216 class ValueGraphVisitor : public EffectGraphVisitor { 216 class ValueGraphVisitor : public EffectGraphVisitor {
217 public: 217 public:
218 ValueGraphVisitor(FlowGraphBuilder* owner, intptr_t temp_index) 218 ValueGraphVisitor(FlowGraphBuilder* owner, intptr_t temp_index)
219 : EffectGraphVisitor(owner, temp_index), value_(NULL) { } 219 : EffectGraphVisitor(owner, temp_index), value_(NULL) { }
220 220
221 // Visit functions overridden by this class. 221 // Visit functions overridden by this class.
222 virtual void VisitLiteralNode(LiteralNode* node); 222 virtual void VisitLiteralNode(LiteralNode* node);
223 virtual void VisitAssignableNode(AssignableNode* node); 223 virtual void VisitAssignableNode(AssignableNode* node);
224 virtual void VisitIncrOpLocalNode(IncrOpLocalNode* node);
225 virtual void VisitIncrOpInstanceFieldNode(IncrOpInstanceFieldNode* node); 224 virtual void VisitIncrOpInstanceFieldNode(IncrOpInstanceFieldNode* node);
226 virtual void VisitIncrOpIndexedNode(IncrOpIndexedNode* node); 225 virtual void VisitIncrOpIndexedNode(IncrOpIndexedNode* node);
227 virtual void VisitConstructorCallNode(ConstructorCallNode* node); 226 virtual void VisitConstructorCallNode(ConstructorCallNode* node);
228 virtual void VisitBinaryOpNode(BinaryOpNode* node); 227 virtual void VisitBinaryOpNode(BinaryOpNode* node);
229 virtual void VisitConditionalExprNode(ConditionalExprNode* node); 228 virtual void VisitConditionalExprNode(ConditionalExprNode* node);
230 virtual void VisitLoadLocalNode(LoadLocalNode* node); 229 virtual void VisitLoadLocalNode(LoadLocalNode* node);
231 virtual void VisitThrowNode(ThrowNode* node); 230 virtual void VisitThrowNode(ThrowNode* node);
232 231
233 Value* value() const { return value_; } 232 Value* value() const { return value_; }
234 233
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // Output parameters. 305 // Output parameters.
307 TargetEntryInstr** true_successor_address_; 306 TargetEntryInstr** true_successor_address_;
308 TargetEntryInstr** false_successor_address_; 307 TargetEntryInstr** false_successor_address_;
309 308
310 intptr_t condition_token_index_; 309 intptr_t condition_token_index_;
311 }; 310 };
312 311
313 } // namespace dart 312 } // namespace dart
314 313
315 #endif // VM_FLOW_GRAPH_BUILDER_H_ 314 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_x64.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698