| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 VM_OBJECT_STORE_H_ | 5 #ifndef VM_OBJECT_STORE_H_ |
| 6 #define VM_OBJECT_STORE_H_ | 6 #define VM_OBJECT_STORE_H_ |
| 7 | 7 |
| 8 #include "vm/object.h" | 8 #include "vm/object.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 RawLibrary* core_library() const { return core_library_; } | 184 RawLibrary* core_library() const { return core_library_; } |
| 185 void set_core_library(const Library& value) { | 185 void set_core_library(const Library& value) { |
| 186 core_library_ = value.raw(); | 186 core_library_ = value.raw(); |
| 187 } | 187 } |
| 188 | 188 |
| 189 RawLibrary* core_impl_library() const { return core_impl_library_; } | 189 RawLibrary* core_impl_library() const { return core_impl_library_; } |
| 190 void set_core_impl_library(const Library& value) { | 190 void set_core_impl_library(const Library& value) { |
| 191 core_impl_library_ = value.raw(); | 191 core_impl_library_ = value.raw(); |
| 192 } | 192 } |
| 193 | 193 |
| 194 RawLibrary* native_fields_library() const { return native_fields_library_; } |
| 195 void set_native_fields_library(const Library& value) { |
| 196 native_fields_library_ = value.raw(); |
| 197 } |
| 198 |
| 194 RawLibrary* root_library() const { return root_library_; } | 199 RawLibrary* root_library() const { return root_library_; } |
| 195 void set_root_library(const Library& value) { | 200 void set_root_library(const Library& value) { |
| 196 root_library_ = value.raw(); | 201 root_library_ = value.raw(); |
| 197 } | 202 } |
| 198 | 203 |
| 199 // Returns head of list of registered libraries. | 204 // Returns head of list of registered libraries. |
| 200 RawLibrary* registered_libraries() const { return registered_libraries_; } | 205 RawLibrary* registered_libraries() const { return registered_libraries_; } |
| 201 void set_registered_libraries(const Library& value) { | 206 void set_registered_libraries(const Library& value) { |
| 202 registered_libraries_ = value.raw(); | 207 registered_libraries_ = value.raw(); |
| 203 } | 208 } |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 RawClass* immutable_array_class_; | 271 RawClass* immutable_array_class_; |
| 267 RawClass* unhandled_exception_class_; | 272 RawClass* unhandled_exception_class_; |
| 268 RawClass* stacktrace_class_; | 273 RawClass* stacktrace_class_; |
| 269 RawClass* jsregexp_class_; | 274 RawClass* jsregexp_class_; |
| 270 RawBool* true_value_; | 275 RawBool* true_value_; |
| 271 RawBool* false_value_; | 276 RawBool* false_value_; |
| 272 RawArray* empty_array_; | 277 RawArray* empty_array_; |
| 273 RawArray* symbol_table_; | 278 RawArray* symbol_table_; |
| 274 RawLibrary* core_library_; | 279 RawLibrary* core_library_; |
| 275 RawLibrary* core_impl_library_; | 280 RawLibrary* core_impl_library_; |
| 281 RawLibrary* native_fields_library_; |
| 276 RawLibrary* root_library_; | 282 RawLibrary* root_library_; |
| 277 RawLibrary* registered_libraries_; | 283 RawLibrary* registered_libraries_; |
| 278 RawArray* pending_classes_; | 284 RawArray* pending_classes_; |
| 279 RawString* sticky_error_; | 285 RawString* sticky_error_; |
| 280 RawContext* empty_context_; | 286 RawContext* empty_context_; |
| 281 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } | 287 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } |
| 282 | 288 |
| 283 friend class SnapshotReader; | 289 friend class SnapshotReader; |
| 284 | 290 |
| 285 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 291 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 286 }; | 292 }; |
| 287 | 293 |
| 288 } // namespace dart | 294 } // namespace dart |
| 289 | 295 |
| 290 #endif // VM_OBJECT_STORE_H_ | 296 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |