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

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

Issue 2799373002: Pass a second type argument vector to all type instantiation calls in the VM. (Closed)
Patch Set: addressed comments Created 3 years, 8 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/jit_optimizer.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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 Fragment EnterScope(TreeNode* node, bool* new_context = NULL); 858 Fragment EnterScope(TreeNode* node, bool* new_context = NULL);
859 Fragment ExitScope(TreeNode* node); 859 Fragment ExitScope(TreeNode* node);
860 860
861 Fragment LoadContextAt(int depth); 861 Fragment LoadContextAt(int depth);
862 Fragment AdjustContextTo(int depth); 862 Fragment AdjustContextTo(int depth);
863 863
864 Fragment PushContext(int size); 864 Fragment PushContext(int size);
865 Fragment PopContext(); 865 Fragment PopContext();
866 866
867 Fragment LoadInstantiatorTypeArguments(); 867 Fragment LoadInstantiatorTypeArguments();
868 Fragment LoadFunctionTypeArguments();
868 Fragment InstantiateType(const AbstractType& type); 869 Fragment InstantiateType(const AbstractType& type);
869 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); 870 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments);
870 Fragment TranslateInstantiatedTypeArguments( 871 Fragment TranslateInstantiatedTypeArguments(
871 const TypeArguments& type_arguments); 872 const TypeArguments& type_arguments);
872 873
873 Fragment AllocateContext(int size); 874 Fragment AllocateContext(int size);
874 Fragment AllocateObject(const dart::Class& klass, intptr_t argument_count); 875 Fragment AllocateObject(const dart::Class& klass, intptr_t argument_count);
875 Fragment AllocateObject(const dart::Class& klass, 876 Fragment AllocateObject(const dart::Class& klass,
876 const Function& closure_function); 877 const Function& closure_function);
877 Fragment BooleanNegate(); 878 Fragment BooleanNegate();
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 namespace kernel { 1136 namespace kernel {
1136 1137
1137 RawObject* EvaluateMetadata(TreeNode* const kernel_node); 1138 RawObject* EvaluateMetadata(TreeNode* const kernel_node);
1138 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); 1139 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node);
1139 1140
1140 } // namespace kernel 1141 } // namespace kernel
1141 } // namespace dart 1142 } // namespace dart
1142 1143
1143 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1144 #endif // !defined(DART_PRECOMPILED_RUNTIME)
1144 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 1145 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « runtime/vm/jit_optimizer.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698