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

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

Issue 2891053003: Add support for converted closures with explicit contexts to VM (Closed)
Patch Set: Update the code according to Martin's comments 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 virtual void VisitFunctionType(FunctionType* node); 497 virtual void VisitFunctionType(FunctionType* node);
498 498
499 virtual void VisitTypeParameterType(TypeParameterType* node); 499 virtual void VisitTypeParameterType(TypeParameterType* node);
500 500
501 virtual void VisitInterfaceType(InterfaceType* node); 501 virtual void VisitInterfaceType(InterfaceType* node);
502 502
503 virtual void VisitDynamicType(DynamicType* node); 503 virtual void VisitDynamicType(DynamicType* node);
504 504
505 virtual void VisitVoidType(VoidType* node); 505 virtual void VisitVoidType(VoidType* node);
506 506
507 virtual void VisitVectorType(VectorType* node);
508
507 virtual void VisitBottomType(BottomType* node); 509 virtual void VisitBottomType(BottomType* node);
508 510
509 // Will return `TypeArguments::null()` in case any of the arguments are 511 // Will return `TypeArguments::null()` in case any of the arguments are
510 // malformed. 512 // malformed.
511 const TypeArguments& TranslateInstantiatedTypeArguments( 513 const TypeArguments& TranslateInstantiatedTypeArguments(
512 const dart::Class& receiver_class, 514 const dart::Class& receiver_class,
513 DartType** receiver_type_arguments, 515 DartType** receiver_type_arguments,
514 intptr_t length); 516 intptr_t length);
515 517
516 // Will return `TypeArguments::null()` in case any of the arguments are 518 // Will return `TypeArguments::null()` in case any of the arguments are
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698