| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 virtual void VisitLoadLocalNode(LoadLocalNode* node); | 393 virtual void VisitLoadLocalNode(LoadLocalNode* node); |
| 394 virtual void VisitStoreLocalNode(StoreLocalNode* node); | 394 virtual void VisitStoreLocalNode(StoreLocalNode* node); |
| 395 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); | 395 virtual void VisitStoreIndexedNode(StoreIndexedNode* node); |
| 396 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); | 396 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); |
| 397 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); | 397 virtual void VisitInstanceSetterNode(InstanceSetterNode* node); |
| 398 virtual void VisitThrowNode(ThrowNode* node); | 398 virtual void VisitThrowNode(ThrowNode* node); |
| 399 virtual void VisitClosureCallNode(ClosureCallNode* node); | 399 virtual void VisitClosureCallNode(ClosureCallNode* node); |
| 400 virtual void VisitStaticSetterNode(StaticSetterNode* node); | 400 virtual void VisitStaticSetterNode(StaticSetterNode* node); |
| 401 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); | 401 virtual void VisitStoreStaticFieldNode(StoreStaticFieldNode* node); |
| 402 virtual void VisitTypeNode(TypeNode* node); | 402 virtual void VisitTypeNode(TypeNode* node); |
| 403 virtual void VisitCommaNode(CommaNode* node); |
| 403 | 404 |
| 404 Value* value() const { return value_; } | 405 Value* value() const { return value_; } |
| 405 | 406 |
| 406 protected: | 407 protected: |
| 407 // Output parameters. | 408 // Output parameters. |
| 408 Value* value_; | 409 Value* value_; |
| 409 | 410 |
| 410 private: | 411 private: |
| 411 // Helper to set the output state to return a Value. | 412 // Helper to set the output state to return a Value. |
| 412 virtual void ReturnValue(Value* value) { value_ = value; } | 413 virtual void ReturnValue(Value* value) { value_ = value; } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 // Output parameters. | 483 // Output parameters. |
| 483 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 484 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 484 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 485 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 485 | 486 |
| 486 intptr_t condition_token_pos_; | 487 intptr_t condition_token_pos_; |
| 487 }; | 488 }; |
| 488 | 489 |
| 489 } // namespace dart | 490 } // namespace dart |
| 490 | 491 |
| 491 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 492 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |