| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 void BuildTypecheckPushArguments( | 268 void BuildTypecheckPushArguments( |
| 269 intptr_t token_pos, | 269 intptr_t token_pos, |
| 270 PushArgumentInstr** push_instantiator, | 270 PushArgumentInstr** push_instantiator, |
| 271 PushArgumentInstr** push_instantiator_type_arguments); | 271 PushArgumentInstr** push_instantiator_type_arguments); |
| 272 void BuildTypecheckArguments(intptr_t token_pos, | 272 void BuildTypecheckArguments(intptr_t token_pos, |
| 273 Value** instantiator, | 273 Value** instantiator, |
| 274 Value** instantiator_type_arguments); | 274 Value** instantiator_type_arguments); |
| 275 Value* BuildInstantiator(); | 275 Value* BuildInstantiator(); |
| 276 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, | 276 Value* BuildInstantiatorTypeArguments(intptr_t token_pos, |
| 277 const Class& instantiator_class, |
| 277 Value* instantiator); | 278 Value* instantiator); |
| 278 | 279 |
| 279 // Perform a type check on the given value. | 280 // Perform a type check on the given value. |
| 280 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, | 281 AssertAssignableInstr* BuildAssertAssignable(intptr_t token_pos, |
| 281 Value* value, | 282 Value* value, |
| 282 const AbstractType& dst_type, | 283 const AbstractType& dst_type, |
| 283 const String& dst_name); | 284 const String& dst_name); |
| 284 | 285 |
| 285 // Perform a type check on the given value and return it. | 286 // Perform a type check on the given value and return it. |
| 286 Value* BuildAssignableValue(intptr_t token_pos, | 287 Value* BuildAssignableValue(intptr_t token_pos, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // Output parameters. | 479 // Output parameters. |
| 479 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 480 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 480 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 481 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 481 | 482 |
| 482 intptr_t condition_token_pos_; | 483 intptr_t condition_token_pos_; |
| 483 }; | 484 }; |
| 484 | 485 |
| 485 } // namespace dart | 486 } // namespace dart |
| 486 | 487 |
| 487 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 488 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |