| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 intptr_t token_pos, | 342 intptr_t token_pos, |
| 343 const TypeArguments& type_arguments); | 343 const TypeArguments& type_arguments); |
| 344 | 344 |
| 345 void BuildTypecheckPushArguments( | 345 void BuildTypecheckPushArguments( |
| 346 intptr_t token_pos, | 346 intptr_t token_pos, |
| 347 PushArgumentInstr** push_instantiator, | 347 PushArgumentInstr** push_instantiator, |
| 348 PushArgumentInstr** push_instantiator_type_arguments); | 348 PushArgumentInstr** push_instantiator_type_arguments); |
| 349 void BuildTypecheckArguments(intptr_t token_pos, | 349 void BuildTypecheckArguments(intptr_t token_pos, |
| 350 Value** instantiator, | 350 Value** instantiator, |
| 351 Value** instantiator_type_arguments); | 351 Value** instantiator_type_arguments); |
| 352 Value* BuildInstantiator(); | 352 Value* BuildInstantiator(const Class& instantiator_class); |
| 353 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, | 353 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, |
| 354 const Class& instantiator_class, | 354 const Class& instantiator_class, |
| 355 Value* instantiator); | 355 Value* instantiator); |
| 356 | 356 |
| 357 // Perform a type check on the given value. | 357 // Perform a type check on the given value. |
| 358 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, | 358 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, |
| 359 Value* value, | 359 Value* value, |
| 360 const AbstractType& dst_type, | 360 const AbstractType& dst_type, |
| 361 const String& dst_name); | 361 const String& dst_name); |
| 362 | 362 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 // Output parameters. | 567 // Output parameters. |
| 568 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 568 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 569 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 569 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 570 | 570 |
| 571 intptr_t condition_token_pos_; | 571 intptr_t condition_token_pos_; |
| 572 }; | 572 }; |
| 573 | 573 |
| 574 } // namespace dart | 574 } // namespace dart |
| 575 | 575 |
| 576 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 576 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |