| 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 virtual void VisitLoadLocalNode(LoadLocalNode* node); | 411 virtual void VisitLoadLocalNode(LoadLocalNode* node); |
| 412 virtual void VisitStoreLocalNode(StoreLocalNode* node); | 412 virtual void VisitStoreLocalNode(StoreLocalNode* node); |
| 413 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); | 413 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); |
| 414 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); | 414 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); |
| 415 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); | 415 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); |
| 416 virtual void VisitThrowNode(ThrowNode* node); | 416 virtual void VisitThrowNode(ThrowNode* node); |
| 417 virtual void VisitClosureCallNode(ClosureCallNode* node); | 417 virtual void VisitClosureCallNode(ClosureCallNode* node); |
| 418 virtual void VisitStaticSetterNode(StaticSetterNode* node); | 418 virtual void VisitStaticSetterNode(StaticSetterNode* node); |
| 419 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); | 419 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); |
| 420 virtual void VisitTypeNode(TypeNode* node); | 420 virtual void VisitTypeNode(TypeNode* node); |
| 421 virtual void VisitCommaNode(CommaNode* node); | |
| 422 virtual void VisitLetNode(LetNode* node); | 421 virtual void VisitLetNode(LetNode* node); |
| 423 | 422 |
| 424 Value* value() const { return value_; } | 423 Value* value() const { return value_; } |
| 425 | 424 |
| 426 protected: | 425 protected: |
| 427 // Output parameters. | 426 // Output parameters. |
| 428 Value* value_; | 427 Value* value_; |
| 429 | 428 |
| 430 private: | 429 private: |
| 431 // Helper to set the output state to return a Value. | 430 // Helper to set the output state to return a Value. |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // Output parameters. | 501 // Output parameters. |
| 503 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 502 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 504 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 503 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 505 | 504 |
| 506 intptr_t condition_token_pos_; | 505 intptr_t condition_token_pos_; |
| 507 }; | 506 }; |
| 508 | 507 |
| 509 } // namespace dart | 508 } // namespace dart |
| 510 | 509 |
| 511 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 510 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |