| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 RUNTIME_VM_KERNEL_TO_IL_H_ | 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_ |
| 6 #define RUNTIME_VM_KERNEL_TO_IL_H_ | 6 #define RUNTIME_VM_KERNEL_TO_IL_H_ |
| 7 | 7 |
| 8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 9 | 9 |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 virtual void VisitFunctionType(FunctionType* node); | 444 virtual void VisitFunctionType(FunctionType* node); |
| 445 | 445 |
| 446 virtual void VisitTypeParameterType(TypeParameterType* node); | 446 virtual void VisitTypeParameterType(TypeParameterType* node); |
| 447 | 447 |
| 448 virtual void VisitInterfaceType(InterfaceType* node); | 448 virtual void VisitInterfaceType(InterfaceType* node); |
| 449 | 449 |
| 450 virtual void VisitDynamicType(DynamicType* node); | 450 virtual void VisitDynamicType(DynamicType* node); |
| 451 | 451 |
| 452 virtual void VisitVoidType(VoidType* node); | 452 virtual void VisitVoidType(VoidType* node); |
| 453 | 453 |
| 454 virtual void VisitBottomType(BottomType* node); |
| 455 |
| 454 // Will return `TypeArguments::null()` in case any of the arguments are | 456 // Will return `TypeArguments::null()` in case any of the arguments are |
| 455 // malformed. | 457 // malformed. |
| 456 const TypeArguments& TranslateInstantiatedTypeArguments( | 458 const TypeArguments& TranslateInstantiatedTypeArguments( |
| 457 const dart::Class& receiver_class, | 459 const dart::Class& receiver_class, |
| 458 DartType** receiver_type_arguments, | 460 DartType** receiver_type_arguments, |
| 459 intptr_t length); | 461 intptr_t length); |
| 460 | 462 |
| 461 // Will return `TypeArguments::null()` in case any of the arguments are | 463 // Will return `TypeArguments::null()` in case any of the arguments are |
| 462 // malformed. | 464 // malformed. |
| 463 const TypeArguments& TranslateTypeArguments(DartType** dart_types, | 465 const TypeArguments& TranslateTypeArguments(DartType** dart_types, |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1160 namespace kernel { | 1162 namespace kernel { |
| 1161 | 1163 |
| 1162 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 1164 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
| 1163 RawObject* BuildParameterDescriptor(const Function& function); | 1165 RawObject* BuildParameterDescriptor(const Function& function); |
| 1164 | 1166 |
| 1165 } // namespace kernel | 1167 } // namespace kernel |
| 1166 } // namespace dart | 1168 } // namespace dart |
| 1167 | 1169 |
| 1168 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1170 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 1169 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 1171 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
| OLD | NEW |