| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 void BuildThrowNode(ThrowNode* node); | 310 void BuildThrowNode(ThrowNode* node); |
| 311 | 311 |
| 312 StaticCallInstr* BuildStaticNoSuchMethodCall( | 312 StaticCallInstr* BuildStaticNoSuchMethodCall( |
| 313 const Class& target_class, | 313 const Class& target_class, |
| 314 AstNode* receiver, | 314 AstNode* receiver, |
| 315 const String& method_name, | 315 const String& method_name, |
| 316 ArgumentListNode* method_arguments); | 316 ArgumentListNode* method_arguments); |
| 317 | 317 |
| 318 StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos, | 318 StaticCallInstr* BuildThrowNoSuchMethodError(intptr_t token_pos, |
| 319 const Class& function_class, | 319 const Class& function_class, |
| 320 const String& function_name); | 320 const String& function_name, |
| 321 int invocation_type); |
| 321 | 322 |
| 322 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed); | 323 void BuildStaticSetter(StaticSetterNode* node, bool result_is_needed); |
| 323 Definition* BuildStoreStaticField(StoreStaticFieldNode* node, | 324 Definition* BuildStoreStaticField(StoreStaticFieldNode* node, |
| 324 bool result_is_needed); | 325 bool result_is_needed); |
| 325 | 326 |
| 326 ClosureCallInstr* BuildClosureCall(ClosureCallNode* node); | 327 ClosureCallInstr* BuildClosureCall(ClosureCallNode* node); |
| 327 | 328 |
| 328 Value* BuildNullValue(); | 329 Value* BuildNullValue(); |
| 329 | 330 |
| 330 private: | 331 private: |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 // Output parameters. | 462 // Output parameters. |
| 462 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 463 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 463 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 464 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 464 | 465 |
| 465 intptr_t condition_token_pos_; | 466 intptr_t condition_token_pos_; |
| 466 }; | 467 }; |
| 467 | 468 |
| 468 } // namespace dart | 469 } // namespace dart |
| 469 | 470 |
| 470 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 471 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |