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

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

Issue 2998803002: [kernel] Support for top-level generic functions. (Closed)
Patch Set: Review comments. Created 3 years, 4 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 Fragment NullConstant(); 557 Fragment NullConstant();
558 Fragment NativeCall(const dart::String* name, const Function* function); 558 Fragment NativeCall(const dart::String* name, const Function* function);
559 Fragment PushArgument(); 559 Fragment PushArgument();
560 Fragment Return(TokenPosition position); 560 Fragment Return(TokenPosition position);
561 Fragment StaticCall(TokenPosition position, 561 Fragment StaticCall(TokenPosition position,
562 const Function& target, 562 const Function& target,
563 intptr_t argument_count); 563 intptr_t argument_count);
564 Fragment StaticCall(TokenPosition position, 564 Fragment StaticCall(TokenPosition position,
565 const Function& target, 565 const Function& target,
566 intptr_t argument_count, 566 intptr_t argument_count,
567 const Array& argument_names); 567 const Array& argument_names,
568 intptr_t type_args_len = 0);
568 Fragment StoreIndexed(intptr_t class_id); 569 Fragment StoreIndexed(intptr_t class_id);
569 Fragment StoreInstanceFieldGuarded(const dart::Field& field, 570 Fragment StoreInstanceFieldGuarded(const dart::Field& field,
570 bool is_initialization_store); 571 bool is_initialization_store);
571 Fragment StoreInstanceField( 572 Fragment StoreInstanceField(
572 const dart::Field& field, 573 const dart::Field& field,
573 bool is_initialization_store, 574 bool is_initialization_store,
574 StoreBarrierType emit_store_barrier = kEmitStoreBarrier); 575 StoreBarrierType emit_store_barrier = kEmitStoreBarrier);
575 Fragment StoreInstanceField( 576 Fragment StoreInstanceField(
576 TokenPosition position, 577 TokenPosition position,
577 intptr_t offset, 578 intptr_t offset,
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 namespace kernel { 943 namespace kernel {
943 944
944 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 945 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
945 RawObject* BuildParameterDescriptor(const Function& function); 946 RawObject* BuildParameterDescriptor(const Function& function);
946 947
947 } // namespace kernel 948 } // namespace kernel
948 } // namespace dart 949 } // namespace dart
949 950
950 #endif // !defined(DART_PRECOMPILED_RUNTIME) 951 #endif // !defined(DART_PRECOMPILED_RUNTIME)
951 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 952 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698