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

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

Issue 2857513002: Revert "VM: [Kernel] elide parent context setup if it's empty" (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 Fragment TranslateFinallyFinalizers(TryFinallyBlock* outer_finally, 862 Fragment TranslateFinallyFinalizers(TryFinallyBlock* outer_finally,
863 intptr_t target_context_depth); 863 intptr_t target_context_depth);
864 864
865 Fragment TranslateFunctionNode(FunctionNode* node, TreeNode* parent); 865 Fragment TranslateFunctionNode(FunctionNode* node, TreeNode* parent);
866 866
867 Fragment EnterScope(TreeNode* node, bool* new_context = NULL); 867 Fragment EnterScope(TreeNode* node, bool* new_context = NULL);
868 Fragment ExitScope(TreeNode* node); 868 Fragment ExitScope(TreeNode* node);
869 869
870 Fragment LoadContextAt(int depth); 870 Fragment LoadContextAt(int depth);
871 Fragment AdjustContextTo(int depth); 871 Fragment AdjustContextTo(int depth);
872 bool HasContextScope() const;
873 872
874 Fragment PushContext(int size); 873 Fragment PushContext(int size);
875 Fragment PopContext(); 874 Fragment PopContext();
876 875
877 Fragment LoadInstantiatorTypeArguments(); 876 Fragment LoadInstantiatorTypeArguments();
878 Fragment LoadFunctionTypeArguments(); 877 Fragment LoadFunctionTypeArguments();
879 Fragment InstantiateType(const AbstractType& type); 878 Fragment InstantiateType(const AbstractType& type);
880 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments); 879 Fragment InstantiateTypeArguments(const TypeArguments& type_arguments);
881 Fragment TranslateInstantiatedTypeArguments( 880 Fragment TranslateInstantiatedTypeArguments(
882 const TypeArguments& type_arguments); 881 const TypeArguments& type_arguments);
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 namespace kernel { 1148 namespace kernel {
1150 1149
1151 RawObject* EvaluateMetadata(const dart::Field& metadata_field); 1150 RawObject* EvaluateMetadata(const dart::Field& metadata_field);
1152 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); 1151 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node);
1153 1152
1154 } // namespace kernel 1153 } // namespace kernel
1155 } // namespace dart 1154 } // namespace dart
1156 1155
1157 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1156 #endif // !defined(DART_PRECOMPILED_RUNTIME)
1158 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 1157 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698