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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 const dart::String& name, | 696 const dart::String& name, |
697 Token::Kind kind, | 697 Token::Kind kind, |
698 intptr_t argument_count, | 698 intptr_t argument_count, |
699 intptr_t num_args_checked = 1); | 699 intptr_t num_args_checked = 1); |
700 Fragment InstanceCall(TokenPosition position, | 700 Fragment InstanceCall(TokenPosition position, |
701 const dart::String& name, | 701 const dart::String& name, |
702 Token::Kind kind, | 702 Token::Kind kind, |
703 intptr_t argument_count, | 703 intptr_t argument_count, |
704 const Array& argument_names, | 704 const Array& argument_names, |
705 intptr_t num_args_checked = 1); | 705 intptr_t num_args_checked = 1); |
706 Fragment ClosureCall(int argument_count, const Array& argument_names); | 706 Fragment ClosureCall(intptr_t type_args_len, |
| 707 intptr_t argument_count, |
| 708 const Array& argument_names); |
707 Fragment ThrowException(TokenPosition position); | 709 Fragment ThrowException(TokenPosition position); |
708 Fragment RethrowException(TokenPosition position, int catch_try_index); | 710 Fragment RethrowException(TokenPosition position, int catch_try_index); |
709 Fragment LoadClassId(); | 711 Fragment LoadClassId(); |
710 Fragment LoadField(const dart::Field& field); | 712 Fragment LoadField(const dart::Field& field); |
711 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid); | 713 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid); |
712 Fragment LoadNativeField(MethodRecognizer::Kind kind, | 714 Fragment LoadNativeField(MethodRecognizer::Kind kind, |
713 intptr_t offset, | 715 intptr_t offset, |
714 const Type& type, | 716 const Type& type, |
715 intptr_t class_id, | 717 intptr_t class_id, |
716 bool is_immutable = false); | 718 bool is_immutable = false); |
(...skipping 401 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 |