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

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

Issue 2632253002: VM: [Kernel] Partial support for metadata annotations (Closed)
Patch Set: 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
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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 friend class BreakableBlock; 938 friend class BreakableBlock;
939 friend class CatchBlock; 939 friend class CatchBlock;
940 friend class ConstantEvaluator; 940 friend class ConstantEvaluator;
941 friend class DartTypeTranslator; 941 friend class DartTypeTranslator;
942 friend class ScopeBuilder; 942 friend class ScopeBuilder;
943 friend class SwitchBlock; 943 friend class SwitchBlock;
944 friend class TryCatchBlock; 944 friend class TryCatchBlock;
945 friend class TryFinallyBlock; 945 friend class TryFinallyBlock;
946 }; 946 };
947 947
948 RawObject* EvaluateMetadata(TreeNode* kernel_node);
949 RawObject* BuildParameterDescriptor(TreeNode* kernel_node);
950
951
948 } // namespace kernel 952 } // namespace kernel
949 } // namespace dart 953 } // namespace dart
950 954
955 #else // !defined(DART_PRECOMPILED_RUNTIME)
956
957 #include "vm/object.h"
958 #include "vm/kernel.h"
959
960 namespace dart {
961 namespace kernel {
962
963 RawObject* EvaluateMetadata(TreeNode* kernel_node);
964 RawObject* BuildParameterDescriptor(TreeNode* kernel_node);
965
966 } // namespace kernel
967 } // namespace dart
968
951 #endif // !defined(DART_PRECOMPILED_RUNTIME) 969 #endif // !defined(DART_PRECOMPILED_RUNTIME)
952 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ 970 #endif // RUNTIME_VM_KERNEL_TO_IL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698