| 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |