Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: runtime/vm/kernel_to_il.h

Issue 2894953002: Support inlining of calls where type arguments are passed to generic functions. (Closed)
Patch Set: work in progress Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 const dart::String& name, 941 const dart::String& name,
942 Token::Kind kind, 942 Token::Kind kind,
943 intptr_t argument_count, 943 intptr_t argument_count,
944 intptr_t num_args_checked = 1); 944 intptr_t num_args_checked = 1);
945 Fragment InstanceCall(TokenPosition position, 945 Fragment InstanceCall(TokenPosition position,
946 const dart::String& name, 946 const dart::String& name,
947 Token::Kind kind, 947 Token::Kind kind,
948 intptr_t argument_count, 948 intptr_t argument_count,
949 const Array& argument_names, 949 const Array& argument_names,
950 intptr_t num_args_checked = 1); 950 intptr_t num_args_checked = 1);
951 Fragment ClosureCall(int argument_count, const Array& argument_names); 951 Fragment ClosureCall(intptr_t type_args_len,
952 intptr_t argument_count,
953 const Array& argument_names);
952 Fragment ThrowException(TokenPosition position); 954 Fragment ThrowException(TokenPosition position);
953 Fragment RethrowException(TokenPosition position, int catch_try_index); 955 Fragment RethrowException(TokenPosition position, int catch_try_index);
954 Fragment LoadClassId(); 956 Fragment LoadClassId();
955 Fragment LoadField(const dart::Field& field); 957 Fragment LoadField(const dart::Field& field);
956 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid); 958 Fragment LoadField(intptr_t offset, intptr_t class_id = kDynamicCid);
957 Fragment LoadNativeField(MethodRecognizer::Kind kind, 959 Fragment LoadNativeField(MethodRecognizer::Kind kind,
958 intptr_t offset, 960 intptr_t offset,
959 const Type& type, 961 const Type& type,
960 intptr_t class_id, 962 intptr_t class_id,
961 bool is_immutable = false); 963 bool is_immutable = false);
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 namespace kernel { 1377 namespace kernel {
1376 1378
1377 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 1379 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
1378 RawObject* BuildParameterDescriptor(const Function& function); 1380 RawObject* BuildParameterDescriptor(const Function& function);
1379 1381
1380 } // namespace kernel 1382 } // namespace kernel
1381 } // namespace dart 1383 } // namespace dart
1382 1384
1383 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1385 #endif // !defined(DART_PRECOMPILED_RUNTIME)
1384 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 1386 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698