| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // May be called only if allocating an object of a parameterized class. | 336 // May be called only if allocating an object of a parameterized class. |
| 337 Value* BuildInstantiatedTypeArguments( | 337 Value* BuildInstantiatedTypeArguments( |
| 338 intptr_t token_pos, | 338 intptr_t token_pos, |
| 339 const TypeArguments& type_arguments); | 339 const TypeArguments& type_arguments); |
| 340 | 340 |
| 341 void BuildTypecheckPushArguments( | 341 void BuildTypecheckPushArguments( |
| 342 intptr_t token_pos, | 342 intptr_t token_pos, |
| 343 PushArgumentInstr** push_instantiator_type_arguments); | 343 PushArgumentInstr** push_instantiator_type_arguments); |
| 344 void BuildTypecheckArguments(intptr_t token_pos, | 344 void BuildTypecheckArguments(intptr_t token_pos, |
| 345 Value** instantiator_type_arguments); | 345 Value** instantiator_type_arguments); |
| 346 Value* BuildInstantiator(intptr_t token_pos, const Class& instantiator_class); | 346 Value* BuildInstantiator(intptr_t token_pos); |
| 347 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, | 347 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, |
| 348 const Class& instantiator_class, | 348 const Class& instantiator_class, |
| 349 Value* instantiator); | 349 Value* instantiator); |
| 350 | 350 |
| 351 // Perform a type check on the given value. | 351 // Perform a type check on the given value. |
| 352 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, | 352 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, |
| 353 Value* value, | 353 Value* value, |
| 354 const AbstractType& dst_type, | 354 const AbstractType& dst_type, |
| 355 const String& dst_name); | 355 const String& dst_name); |
| 356 | 356 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 // Output parameters. | 583 // Output parameters. |
| 584 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 584 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 585 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 585 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 586 | 586 |
| 587 intptr_t condition_token_pos_; | 587 intptr_t condition_token_pos_; |
| 588 }; | 588 }; |
| 589 | 589 |
| 590 } // namespace dart | 590 } // namespace dart |
| 591 | 591 |
| 592 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 592 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |