| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 | 334 |
| 335 void BuildStoreContext(const LocalVariable& variable); | 335 void BuildStoreContext(const LocalVariable& variable); |
| 336 void BuildLoadContext(const LocalVariable& variable); | 336 void BuildLoadContext(const LocalVariable& variable); |
| 337 | 337 |
| 338 void BuildThrowNode(ThrowNode* node); | 338 void BuildThrowNode(ThrowNode* node); |
| 339 | 339 |
| 340 StaticCallInstr* BuildStaticNoSuchMethodCall( | 340 StaticCallInstr* BuildStaticNoSuchMethodCall( |
| 341 const Class& target_class, | 341 const Class& target_class, |
| 342 AstNode* receiver, | 342 AstNode* receiver, |
| 343 const String& method_name, | 343 const String& method_name, |
| 344 ArgumentListNode* method_arguments); | 344 ArgumentListNode* method_arguments, |
| 345 bool save_last_arg); |
| 345 | 346 |
| 346 StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos, | 347 StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos, |
| 347 const Class& function_class, | 348 const Class& function_class, |
| 348 const String& function_name, | 349 const String& function_name, |
| 349 int invocation_type); | 350 int invocation_type); |
| 350 | 351 |
| 351 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed); | 352 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed); |
| 352 Definition* BuildStoreStaticField(StoreStaticFieldNode* node, | 353 Definition* BuildStoreStaticField(StoreStaticFieldNode* node, |
| 353 bool result_is_needed); | 354 bool result_is_needed); |
| 354 | 355 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 // Output parameters. | 497 // Output parameters. |
| 497 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 498 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 498 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 499 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 499 | 500 |
| 500 intptr_t condition_token_pos_; | 501 intptr_t condition_token_pos_; |
| 501 }; | 502 }; |
| 502 | 503 |
| 503 } // namespace dart | 504 } // namespace dart |
| 504 | 505 |
| 505 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 506 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |