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

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

Issue 2857853003: Fix building of parameter descriptors from Kernel (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 | « runtime/lib/mirrors.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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698