| 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 "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "platform/globals.h" | 9 #include "platform/globals.h" |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 // on top of the current expression stack. | 418 // on top of the current expression stack. |
| 419 intptr_t GetCurrentTempLocalIndex() const; | 419 intptr_t GetCurrentTempLocalIndex() const; |
| 420 | 420 |
| 421 Value* BuildObjectAllocation(ConstructorCallNode* node); | 421 Value* BuildObjectAllocation(ConstructorCallNode* node); |
| 422 void BuildConstructorCall(ConstructorCallNode* node, | 422 void BuildConstructorCall(ConstructorCallNode* node, |
| 423 PushArgumentInstr* alloc_value); | 423 PushArgumentInstr* alloc_value); |
| 424 | 424 |
| 425 void BuildSaveContext(const LocalVariable& variable); | 425 void BuildSaveContext(const LocalVariable& variable); |
| 426 void BuildRestoreContext(const LocalVariable& variable); | 426 void BuildRestoreContext(const LocalVariable& variable); |
| 427 | 427 |
| 428 Definition* BuildStoreContext(Value* value); |
| 429 Definition* BuildCurrentContext(); |
| 430 |
| 428 void BuildThrowNode(ThrowNode* node); | 431 void BuildThrowNode(ThrowNode* node); |
| 429 | 432 |
| 430 StaticCallInstr* BuildStaticNoSuchMethodCall( | 433 StaticCallInstr* BuildStaticNoSuchMethodCall( |
| 431 const Class& target_class, | 434 const Class& target_class, |
| 432 AstNode* receiver, | 435 AstNode* receiver, |
| 433 const String& method_name, | 436 const String& method_name, |
| 434 ArgumentListNode* method_arguments, | 437 ArgumentListNode* method_arguments, |
| 435 bool save_last_arg, | 438 bool save_last_arg, |
| 436 bool is_super_invocation); | 439 bool is_super_invocation); |
| 437 | 440 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 // Output parameters. | 603 // Output parameters. |
| 601 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 604 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 602 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 605 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 603 | 606 |
| 604 intptr_t condition_token_pos_; | 607 intptr_t condition_token_pos_; |
| 605 }; | 608 }; |
| 606 | 609 |
| 607 } // namespace dart | 610 } // namespace dart |
| 608 | 611 |
| 609 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 612 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |