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 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 const dart::String& name, | 888 const dart::String& name, |
889 Token::Kind kind, | 889 Token::Kind kind, |
890 intptr_t argument_count, | 890 intptr_t argument_count, |
891 intptr_t num_args_checked = 1); | 891 intptr_t num_args_checked = 1); |
892 Fragment InstanceCall(TokenPosition position, | 892 Fragment InstanceCall(TokenPosition position, |
893 const dart::String& name, | 893 const dart::String& name, |
894 Token::Kind kind, | 894 Token::Kind kind, |
895 intptr_t argument_count, | 895 intptr_t argument_count, |
896 const Array& argument_names, | 896 const Array& argument_names, |
897 intptr_t num_args_checked = 1); | 897 intptr_t num_args_checked = 1); |
898 Fragment ClosureCall(int argument_count, const Array& argument_names); | 898 Fragment ClosureCall(intptr_t type_args_len, |
| 899 intptr_t argument_count, |
| 900 const Array& argument_names); |
899 Fragment ThrowException(TokenPosition position); | 901 Fragment ThrowException(TokenPosition position); |
900 Fragment RethrowException(TokenPosition position, int catch_try_index); | 902 Fragment RethrowException(TokenPosition position, int catch_try_index); |
901 Fragment LoadClassId(); | 903 Fragment LoadClassId(); |
902 Fragment LoadField(const dart::Field& field); | 904 Fragment LoadField(const dart::Field& field); |
903 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid); | 905 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid); |
904 Fragment LoadNativeField(MethodRecognizer::Kind kind, | 906 Fragment LoadNativeField(MethodRecognizer::Kind kind, |
905 intptr_t offset, | 907 intptr_t offset, |
906 const Type& type, | 908 const Type& type, |
907 intptr_t class_id, | 909 intptr_t class_id, |
908 bool is_immutable = false); | 910 bool is_immutable = false); |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1322 namespace kernel { | 1324 namespace kernel { |
1323 | 1325 |
1324 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 1326 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
1325 RawObject* BuildParameterDescriptor(const Function& function); | 1327 RawObject* BuildParameterDescriptor(const Function& function); |
1326 | 1328 |
1327 } // namespace kernel | 1329 } // namespace kernel |
1328 } // namespace dart | 1330 } // namespace dart |
1329 | 1331 |
1330 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1332 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1331 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 1333 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
OLD | NEW |