| OLD | NEW |
| 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 virtual void VisitConditionalExprNode(ConditionalExprNode* node); | 318 virtual void VisitConditionalExprNode(ConditionalExprNode* node); |
| 319 virtual void VisitLoadLocalNode(LoadLocalNode* node); | 319 virtual void VisitLoadLocalNode(LoadLocalNode* node); |
| 320 virtual void VisitStoreLocalNode(StoreLocalNode* node); | 320 virtual void VisitStoreLocalNode(StoreLocalNode* node); |
| 321 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); | 321 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); |
| 322 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); | 322 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); |
| 323 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); | 323 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); |
| 324 virtual void VisitThrowNode(ThrowNode* node); | 324 virtual void VisitThrowNode(ThrowNode* node); |
| 325 virtual void VisitClosureCallNode(ClosureCallNode* node); | 325 virtual void VisitClosureCallNode(ClosureCallNode* node); |
| 326 virtual void VisitStaticSetterNode(StaticSetterNode* node); | 326 virtual void VisitStaticSetterNode(StaticSetterNode* node); |
| 327 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); | 327 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); |
| 328 virtual void VisitTypeNode(TypeNode* node); |
| 328 | 329 |
| 329 Value* value() const { return value_; } | 330 Value* value() const { return value_; } |
| 330 | 331 |
| 331 protected: | 332 protected: |
| 332 // Output parameters. | 333 // Output parameters. |
| 333 Value* value_; | 334 Value* value_; |
| 334 | 335 |
| 335 private: | 336 private: |
| 336 // Helper to set the output state to return a Value. | 337 // Helper to set the output state to return a Value. |
| 337 virtual void ReturnValue(Value* value) { value_ = value; } | 338 virtual void ReturnValue(Value* value) { value_ = value; } |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // Output parameters. | 409 // Output parameters. |
| 409 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 410 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 410 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 411 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 411 | 412 |
| 412 intptr_t condition_token_pos_; | 413 intptr_t condition_token_pos_; |
| 413 }; | 414 }; |
| 414 | 415 |
| 415 } // namespace dart | 416 } // namespace dart |
| 416 | 417 |
| 417 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 418 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |