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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 Fragment PopContext(); | 658 Fragment PopContext(); |
659 | 659 |
660 Fragment LoadInstantiatorTypeArguments(); | 660 Fragment LoadInstantiatorTypeArguments(); |
661 Fragment LoadFunctionTypeArguments(); | 661 Fragment LoadFunctionTypeArguments(); |
662 Fragment InstantiateType(const AbstractType& type); | 662 Fragment InstantiateType(const AbstractType& type); |
663 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); | 663 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); |
664 Fragment TranslateInstantiatedTypeArguments( | 664 Fragment TranslateInstantiatedTypeArguments( |
665 const TypeArguments& type_arguments); | 665 const TypeArguments& type_arguments); |
666 | 666 |
667 Fragment AllocateContext(int size); | 667 Fragment AllocateContext(int size); |
668 Fragment AllocateObject(const dart::Class& klass, intptr_t argument_count); | 668 Fragment AllocateObject(TokenPosition position, |
| 669 const dart::Class& klass, |
| 670 intptr_t argument_count); |
669 Fragment AllocateObject(const dart::Class& klass, | 671 Fragment AllocateObject(const dart::Class& klass, |
670 const Function& closure_function); | 672 const Function& closure_function); |
671 Fragment BooleanNegate(); | 673 Fragment BooleanNegate(); |
672 Fragment StrictCompare(Token::Kind kind, bool number_check = false); | 674 Fragment StrictCompare(Token::Kind kind, bool number_check = false); |
673 Fragment BranchIfTrue(TargetEntryInstr** then_entry, | 675 Fragment BranchIfTrue(TargetEntryInstr** then_entry, |
674 TargetEntryInstr** otherwise_entry, | 676 TargetEntryInstr** otherwise_entry, |
675 bool negate = false); | 677 bool negate = false); |
676 Fragment BranchIfNull(TargetEntryInstr** then_entry, | 678 Fragment BranchIfNull(TargetEntryInstr** then_entry, |
677 TargetEntryInstr** otherwise_entry, | 679 TargetEntryInstr** otherwise_entry, |
678 bool negate = false); | 680 bool negate = false); |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1118 namespace kernel { | 1120 namespace kernel { |
1119 | 1121 |
1120 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 1122 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
1121 RawObject* BuildParameterDescriptor(const Function& function); | 1123 RawObject* BuildParameterDescriptor(const Function& function); |
1122 | 1124 |
1123 } // namespace kernel | 1125 } // namespace kernel |
1124 } // namespace dart | 1126 } // namespace dart |
1125 | 1127 |
1126 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1128 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1127 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 1129 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
OLD | NEW |