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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 RawClass* jsregexp_class() const { | 327 RawClass* jsregexp_class() const { |
328 return jsregexp_class_; | 328 return jsregexp_class_; |
329 } | 329 } |
330 void set_jsregexp_class(const Class& value) { | 330 void set_jsregexp_class(const Class& value) { |
331 jsregexp_class_ = value.raw(); | 331 jsregexp_class_ = value.raw(); |
332 } | 332 } |
333 static intptr_t jsregexp_class_offset() { | 333 static intptr_t jsregexp_class_offset() { |
334 return OFFSET_OF(ObjectStore, jsregexp_class_); | 334 return OFFSET_OF(ObjectStore, jsregexp_class_); |
335 } | 335 } |
336 | 336 |
| 337 RawClass* weak_property_class() const { |
| 338 return weak_property_class_; |
| 339 } |
| 340 void set_weak_property_class(const Class& value) { |
| 341 weak_property_class_ = value.raw(); |
| 342 } |
| 343 |
337 RawArray* symbol_table() const { return symbol_table_; } | 344 RawArray* symbol_table() const { return symbol_table_; } |
338 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 345 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
339 | 346 |
340 RawArray* canonical_type_arguments() const { | 347 RawArray* canonical_type_arguments() const { |
341 return canonical_type_arguments_; | 348 return canonical_type_arguments_; |
342 } | 349 } |
343 void set_canonical_type_arguments(const Array& value) { | 350 void set_canonical_type_arguments(const Array& value) { |
344 canonical_type_arguments_ = value.raw(); | 351 canonical_type_arguments_ = value.raw(); |
345 } | 352 } |
346 | 353 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 RawClass* external_int16_array_class_; | 506 RawClass* external_int16_array_class_; |
500 RawClass* external_uint16_array_class_; | 507 RawClass* external_uint16_array_class_; |
501 RawClass* external_int32_array_class_; | 508 RawClass* external_int32_array_class_; |
502 RawClass* external_uint32_array_class_; | 509 RawClass* external_uint32_array_class_; |
503 RawClass* external_int64_array_class_; | 510 RawClass* external_int64_array_class_; |
504 RawClass* external_uint64_array_class_; | 511 RawClass* external_uint64_array_class_; |
505 RawClass* external_float32_array_class_; | 512 RawClass* external_float32_array_class_; |
506 RawClass* external_float64_array_class_; | 513 RawClass* external_float64_array_class_; |
507 RawClass* stacktrace_class_; | 514 RawClass* stacktrace_class_; |
508 RawClass* jsregexp_class_; | 515 RawClass* jsregexp_class_; |
| 516 RawClass* weak_property_class_; |
509 RawBool* true_value_; | 517 RawBool* true_value_; |
510 RawBool* false_value_; | 518 RawBool* false_value_; |
511 RawArray* symbol_table_; | 519 RawArray* symbol_table_; |
512 RawArray* canonical_type_arguments_; | 520 RawArray* canonical_type_arguments_; |
513 RawLibrary* core_library_; | 521 RawLibrary* core_library_; |
514 RawLibrary* core_impl_library_; | 522 RawLibrary* core_impl_library_; |
515 RawLibrary* math_library_; | 523 RawLibrary* math_library_; |
516 RawLibrary* isolate_library_; | 524 RawLibrary* isolate_library_; |
517 RawLibrary* mirrors_library_; | 525 RawLibrary* mirrors_library_; |
518 RawLibrary* native_wrappers_library_; | 526 RawLibrary* native_wrappers_library_; |
(...skipping 10 matching lines...) Expand all Loading... |
529 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 537 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
530 | 538 |
531 friend class SnapshotReader; | 539 friend class SnapshotReader; |
532 | 540 |
533 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 541 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
534 }; | 542 }; |
535 | 543 |
536 } // namespace dart | 544 } // namespace dart |
537 | 545 |
538 #endif // VM_OBJECT_STORE_H_ | 546 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |