| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 void set_jsregexp_class(const Class& value) { | 218 void set_jsregexp_class(const Class& value) { |
| 219 jsregexp_class_ = value.raw(); | 219 jsregexp_class_ = value.raw(); |
| 220 } | 220 } |
| 221 static intptr_t jsregexp_class_offset() { | 221 static intptr_t jsregexp_class_offset() { |
| 222 return OFFSET_OF(ObjectStore, jsregexp_class_); | 222 return OFFSET_OF(ObjectStore, jsregexp_class_); |
| 223 } | 223 } |
| 224 | 224 |
| 225 RawArray* symbol_table() const { return symbol_table_; } | 225 RawArray* symbol_table() const { return symbol_table_; } |
| 226 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 226 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
| 227 | 227 |
| 228 RawArray* canonical_type_arguments() const { |
| 229 return canonical_type_arguments_; |
| 230 } |
| 231 void set_canonical_type_arguments(const Array& value) { |
| 232 canonical_type_arguments_ = value.raw(); |
| 233 } |
| 234 |
| 228 RawLibrary* core_library() const { return core_library_; } | 235 RawLibrary* core_library() const { return core_library_; } |
| 229 void set_core_library(const Library& value) { | 236 void set_core_library(const Library& value) { |
| 230 core_library_ = value.raw(); | 237 core_library_ = value.raw(); |
| 231 } | 238 } |
| 232 | 239 |
| 233 RawLibrary* core_impl_library() const { return core_impl_library_; } | 240 RawLibrary* core_impl_library() const { return core_impl_library_; } |
| 234 void set_core_impl_library(const Library& value) { | 241 void set_core_impl_library(const Library& value) { |
| 235 core_impl_library_ = value.raw(); | 242 core_impl_library_ = value.raw(); |
| 236 } | 243 } |
| 237 | 244 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 RawClass* array_class_; | 326 RawClass* array_class_; |
| 320 RawClass* immutable_array_class_; | 327 RawClass* immutable_array_class_; |
| 321 RawClass* byte_buffer_class_; | 328 RawClass* byte_buffer_class_; |
| 322 RawClass* unhandled_exception_class_; | 329 RawClass* unhandled_exception_class_; |
| 323 RawClass* stacktrace_class_; | 330 RawClass* stacktrace_class_; |
| 324 RawClass* jsregexp_class_; | 331 RawClass* jsregexp_class_; |
| 325 RawBool* true_value_; | 332 RawBool* true_value_; |
| 326 RawBool* false_value_; | 333 RawBool* false_value_; |
| 327 RawArray* empty_array_; | 334 RawArray* empty_array_; |
| 328 RawArray* symbol_table_; | 335 RawArray* symbol_table_; |
| 336 RawArray* canonical_type_arguments_; |
| 329 RawLibrary* core_library_; | 337 RawLibrary* core_library_; |
| 330 RawLibrary* core_impl_library_; | 338 RawLibrary* core_impl_library_; |
| 331 RawLibrary* native_wrappers_library_; | 339 RawLibrary* native_wrappers_library_; |
| 332 RawLibrary* root_library_; | 340 RawLibrary* root_library_; |
| 333 RawLibrary* registered_libraries_; | 341 RawLibrary* registered_libraries_; |
| 334 RawArray* pending_classes_; | 342 RawArray* pending_classes_; |
| 335 RawString* sticky_error_; | 343 RawString* sticky_error_; |
| 336 RawContext* empty_context_; | 344 RawContext* empty_context_; |
| 337 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } | 345 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } |
| 338 | 346 |
| 339 friend class SnapshotReader; | 347 friend class SnapshotReader; |
| 340 | 348 |
| 341 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 349 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 342 }; | 350 }; |
| 343 | 351 |
| 344 } // namespace dart | 352 } // namespace dart |
| 345 | 353 |
| 346 #endif // VM_OBJECT_STORE_H_ | 354 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |