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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 private: | 1133 private: |
1134 FlowGraphBuilder* builder_; | 1134 FlowGraphBuilder* builder_; |
1135 CatchBlock* outer_; | 1135 CatchBlock* outer_; |
1136 LocalVariable* exception_var_; | 1136 LocalVariable* exception_var_; |
1137 LocalVariable* stack_trace_var_; | 1137 LocalVariable* stack_trace_var_; |
1138 intptr_t catch_try_index_; | 1138 intptr_t catch_try_index_; |
1139 }; | 1139 }; |
1140 | 1140 |
1141 | 1141 |
1142 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 1142 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
1143 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); | 1143 RawObject* BuildParameterDescriptor(const Function& function); |
1144 | 1144 |
1145 | 1145 |
1146 } // namespace kernel | 1146 } // namespace kernel |
1147 } // namespace dart | 1147 } // namespace dart |
1148 | 1148 |
1149 #else // !defined(DART_PRECOMPILED_RUNTIME) | 1149 #else // !defined(DART_PRECOMPILED_RUNTIME) |
1150 | 1150 |
1151 #include "vm/object.h" | 1151 #include "vm/object.h" |
1152 #include "vm/kernel.h" | 1152 #include "vm/kernel.h" |
1153 | 1153 |
1154 namespace dart { | 1154 namespace dart { |
1155 namespace kernel { | 1155 namespace kernel { |
1156 | 1156 |
1157 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 1157 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
1158 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); | 1158 RawObject* BuildParameterDescriptor(const Function& function); |
1159 | 1159 |
1160 } // namespace kernel | 1160 } // namespace kernel |
1161 } // namespace dart | 1161 } // namespace dart |
1162 | 1162 |
1163 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1163 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1164 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 1164 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
OLD | NEW |