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

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: Temporarily disable Run step in closures test suite Created 3 years, 5 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
« no previous file with comments | « runtime/vm/kernel_binary_flowgraph.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 Fragment PushContext(int size); 498 Fragment PushContext(int size);
499 Fragment PopContext(); 499 Fragment PopContext();
500 500
501 Fragment LoadInstantiatorTypeArguments(); 501 Fragment LoadInstantiatorTypeArguments();
502 Fragment LoadFunctionTypeArguments(); 502 Fragment LoadFunctionTypeArguments();
503 Fragment InstantiateType(const AbstractType& type); 503 Fragment InstantiateType(const AbstractType& type);
504 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); 504 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments);
505 Fragment TranslateInstantiatedTypeArguments( 505 Fragment TranslateInstantiatedTypeArguments(
506 const TypeArguments& type_arguments); 506 const TypeArguments& type_arguments);
507 507
508 Fragment AllocateContext(int size); 508 Fragment AllocateContext(intptr_t size);
509 Fragment AllocateObject(TokenPosition position, 509 Fragment AllocateObject(TokenPosition position,
510 const dart::Class& klass, 510 const dart::Class& klass,
511 intptr_t argument_count); 511 intptr_t argument_count);
512 Fragment AllocateObject(const dart::Class& klass, 512 Fragment AllocateObject(const dart::Class& klass,
513 const Function& closure_function); 513 const Function& closure_function);
514 Fragment BooleanNegate(); 514 Fragment BooleanNegate();
515 Fragment StrictCompare(Token::Kind kind, bool number_check = false); 515 Fragment StrictCompare(Token::Kind kind, bool number_check = false);
516 Fragment BranchIfTrue(TargetEntryInstr** then_entry, 516 Fragment BranchIfTrue(TargetEntryInstr** then_entry,
517 TargetEntryInstr** otherwise_entry, 517 TargetEntryInstr** otherwise_entry,
518 bool negate = false); 518 bool negate = false);
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 namespace kernel { 953 namespace kernel {
954 954
955 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 955 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
956 RawObject* BuildParameterDescriptor(const Function& function); 956 RawObject* BuildParameterDescriptor(const Function& function);
957 957
958 } // namespace kernel 958 } // namespace kernel
959 } // namespace dart 959 } // namespace dart
960 960
961 #endif // !defined(DART_PRECOMPILED_RUNTIME) 961 #endif // !defined(DART_PRECOMPILED_RUNTIME)
962 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 962 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « runtime/vm/kernel_binary_flowgraph.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698