| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |