| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 ~ActiveMemberScope() { *active_class_ = saved_; } | 255 ~ActiveMemberScope() { *active_class_ = saved_; } |
| 256 | 256 |
| 257 private: | 257 private: |
| 258 ActiveClass* active_class_; | 258 ActiveClass* active_class_; |
| 259 ActiveClass saved_; | 259 ActiveClass saved_; |
| 260 }; | 260 }; |
| 261 | 261 |
| 262 class TranslationHelper { | 262 class TranslationHelper { |
| 263 public: | 263 public: |
| 264 explicit TranslationHelper(dart::Thread* thread); | 264 explicit TranslationHelper(dart::Thread* thread); |
| 265 |
| 266 TranslationHelper(dart::Thread* thread, |
| 267 dart::RawTypedData* string_offsets, |
| 268 dart::RawTypedData* string_data, |
| 269 dart::RawTypedData* canonical_names); |
| 270 |
| 265 virtual ~TranslationHelper() {} | 271 virtual ~TranslationHelper() {} |
| 266 | 272 |
| 267 Thread* thread() { return thread_; } | 273 Thread* thread() { return thread_; } |
| 268 | 274 |
| 269 Zone* zone() { return zone_; } | 275 Zone* zone() { return zone_; } |
| 270 | 276 |
| 271 Isolate* isolate() { return isolate_; } | 277 Isolate* isolate() { return isolate_; } |
| 272 | 278 |
| 273 Heap::Space allocation_space() { return allocation_space_; } | 279 Heap::Space allocation_space() { return allocation_space_; } |
| 274 | 280 |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 namespace kernel { | 953 namespace kernel { |
| 948 | 954 |
| 949 RawObject* EvaluateMetadata(const dart::Field& metadata_field); | 955 RawObject* EvaluateMetadata(const dart::Field& metadata_field); |
| 950 RawObject* BuildParameterDescriptor(const Function& function); | 956 RawObject* BuildParameterDescriptor(const Function& function); |
| 951 | 957 |
| 952 } // namespace kernel | 958 } // namespace kernel |
| 953 } // namespace dart | 959 } // namespace dart |
| 954 | 960 |
| 955 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 961 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 956 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 962 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
| OLD | NEW |