OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 RawClass* stacktrace_class() const { | 244 RawClass* stacktrace_class() const { |
245 return stacktrace_class_; | 245 return stacktrace_class_; |
246 } | 246 } |
247 void set_stacktrace_class(const Class& value) { | 247 void set_stacktrace_class(const Class& value) { |
248 stacktrace_class_ = value.raw(); | 248 stacktrace_class_ = value.raw(); |
249 } | 249 } |
250 static intptr_t stacktrace_class_offset() { | 250 static intptr_t stacktrace_class_offset() { |
251 return OFFSET_OF(ObjectStore, stacktrace_class_); | 251 return OFFSET_OF(ObjectStore, stacktrace_class_); |
252 } | 252 } |
253 | 253 |
254 RawClass* jsregexp_class() const { | |
255 return jsregexp_class_; | |
256 } | |
257 void set_jsregexp_class(const Class& value) { | |
258 jsregexp_class_ = value.raw(); | |
259 } | |
260 static intptr_t jsregexp_class_offset() { | |
261 return OFFSET_OF(ObjectStore, jsregexp_class_); | |
262 } | |
263 | |
264 RawClass* weak_property_class() const { | 254 RawClass* weak_property_class() const { |
265 return weak_property_class_; | 255 return weak_property_class_; |
266 } | 256 } |
267 void set_weak_property_class(const Class& value) { | 257 void set_weak_property_class(const Class& value) { |
268 weak_property_class_ = value.raw(); | 258 weak_property_class_ = value.raw(); |
269 } | 259 } |
270 | 260 |
271 RawClass* mirror_reference_class() const { | |
272 return mirror_reference_class_; | |
273 } | |
274 void set_mirror_reference_class(const Class& value) { | |
275 mirror_reference_class_ = value.raw(); | |
276 } | |
277 | |
278 RawClass* user_tag_class() const { | |
279 return user_tag_class_; | |
280 } | |
281 void set_user_tag_class(const Class& value) { | |
282 user_tag_class_ = value.raw(); | |
283 } | |
284 | |
285 RawArray* symbol_table() const { return symbol_table_; } | 261 RawArray* symbol_table() const { return symbol_table_; } |
286 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 262 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
287 | 263 |
288 RawArray* canonical_type_arguments() const { | 264 RawArray* canonical_type_arguments() const { |
289 return canonical_type_arguments_; | 265 return canonical_type_arguments_; |
290 } | 266 } |
291 void set_canonical_type_arguments(const Array& value) { | 267 void set_canonical_type_arguments(const Array& value) { |
292 canonical_type_arguments_ = value.raw(); | 268 canonical_type_arguments_ = value.raw(); |
293 } | 269 } |
294 | 270 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 RawClass* array_class_; | 446 RawClass* array_class_; |
471 RawType* array_type_; | 447 RawType* array_type_; |
472 RawClass* immutable_array_class_; | 448 RawClass* immutable_array_class_; |
473 RawClass* growable_object_array_class_; | 449 RawClass* growable_object_array_class_; |
474 RawClass* float32x4_class_; | 450 RawClass* float32x4_class_; |
475 RawClass* int32x4_class_; | 451 RawClass* int32x4_class_; |
476 RawClass* float64x2_class_; | 452 RawClass* float64x2_class_; |
477 RawArray* typed_data_classes_; | 453 RawArray* typed_data_classes_; |
478 RawClass* error_class_; | 454 RawClass* error_class_; |
479 RawClass* stacktrace_class_; | 455 RawClass* stacktrace_class_; |
480 RawClass* jsregexp_class_; | |
481 RawClass* weak_property_class_; | 456 RawClass* weak_property_class_; |
482 RawClass* mirror_reference_class_; | |
483 RawClass* user_tag_class_; | |
484 RawArray* symbol_table_; | 457 RawArray* symbol_table_; |
485 RawArray* canonical_type_arguments_; | 458 RawArray* canonical_type_arguments_; |
486 RawLibrary* async_library_; | 459 RawLibrary* async_library_; |
487 RawLibrary* builtin_library_; | 460 RawLibrary* builtin_library_; |
488 RawLibrary* core_library_; | 461 RawLibrary* core_library_; |
489 RawLibrary* collection_library_; | 462 RawLibrary* collection_library_; |
490 RawLibrary* convert_library_; | 463 RawLibrary* convert_library_; |
491 RawLibrary* internal_library_; | 464 RawLibrary* internal_library_; |
492 RawLibrary* isolate_library_; | 465 RawLibrary* isolate_library_; |
493 RawLibrary* math_library_; | 466 RawLibrary* math_library_; |
(...skipping 18 matching lines...) Expand all Loading... |
512 } | 485 } |
513 | 486 |
514 friend class SnapshotReader; | 487 friend class SnapshotReader; |
515 | 488 |
516 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 489 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
517 }; | 490 }; |
518 | 491 |
519 } // namespace dart | 492 } // namespace dart |
520 | 493 |
521 #endif // VM_OBJECT_STORE_H_ | 494 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |