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

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

Issue 2632253002: VM: [Kernel] Partial support for metadata annotations (Closed)
Patch Set: Address comments Created 3 years, 11 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/kernel_reader.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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 friend class BreakableBlock; 942 friend class BreakableBlock;
943 friend class CatchBlock; 943 friend class CatchBlock;
944 friend class ConstantEvaluator; 944 friend class ConstantEvaluator;
945 friend class DartTypeTranslator; 945 friend class DartTypeTranslator;
946 friend class ScopeBuilder; 946 friend class ScopeBuilder;
947 friend class SwitchBlock; 947 friend class SwitchBlock;
948 friend class TryCatchBlock; 948 friend class TryCatchBlock;
949 friend class TryFinallyBlock; 949 friend class TryFinallyBlock;
950 }; 950 };
951 951
952 RawObject* EvaluateMetadata(TreeNode* kernel_node);
953 RawObject* BuildParameterDescriptor(TreeNode* kernel_node);
954
955
952 } // namespace kernel 956 } // namespace kernel
953 } // namespace dart 957 } // namespace dart
954 958
959 #else // !defined(DART_PRECOMPILED_RUNTIME)
960
961 #include "vm/object.h"
962 #include "vm/kernel.h"
963
964 namespace dart {
965 namespace kernel {
966
967 RawObject* EvaluateMetadata(TreeNode* kernel_node);
968 RawObject* BuildParameterDescriptor(TreeNode* kernel_node);
969
970 } // namespace kernel
971 } // namespace dart
972
955 #endif // !defined(DART_PRECOMPILED_RUNTIME) 973 #endif // !defined(DART_PRECOMPILED_RUNTIME)
956 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 974 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW
« no previous file with comments | « runtime/vm/kernel_reader.cc ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698