| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 RawClass* jsregexp_class() const { | 334 RawClass* jsregexp_class() const { |
| 335 return jsregexp_class_; | 335 return jsregexp_class_; |
| 336 } | 336 } |
| 337 void set_jsregexp_class(const Class& value) { | 337 void set_jsregexp_class(const Class& value) { |
| 338 jsregexp_class_ = value.raw(); | 338 jsregexp_class_ = value.raw(); |
| 339 } | 339 } |
| 340 static intptr_t jsregexp_class_offset() { | 340 static intptr_t jsregexp_class_offset() { |
| 341 return OFFSET_OF(ObjectStore, jsregexp_class_); | 341 return OFFSET_OF(ObjectStore, jsregexp_class_); |
| 342 } | 342 } |
| 343 | 343 |
| 344 RawClass* weak_property_class() const { |
| 345 return weak_property_class_; |
| 346 } |
| 347 void set_weak_property_class(const Class& value) { |
| 348 weak_property_class_ = value.raw(); |
| 349 } |
| 350 |
| 344 RawArray* symbol_table() const { return symbol_table_; } | 351 RawArray* symbol_table() const { return symbol_table_; } |
| 345 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 352 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
| 346 | 353 |
| 347 RawArray* canonical_type_arguments() const { | 354 RawArray* canonical_type_arguments() const { |
| 348 return canonical_type_arguments_; | 355 return canonical_type_arguments_; |
| 349 } | 356 } |
| 350 void set_canonical_type_arguments(const Array& value) { | 357 void set_canonical_type_arguments(const Array& value) { |
| 351 canonical_type_arguments_ = value.raw(); | 358 canonical_type_arguments_ = value.raw(); |
| 352 } | 359 } |
| 353 | 360 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 RawClass* external_int16_array_class_; | 516 RawClass* external_int16_array_class_; |
| 510 RawClass* external_uint16_array_class_; | 517 RawClass* external_uint16_array_class_; |
| 511 RawClass* external_int32_array_class_; | 518 RawClass* external_int32_array_class_; |
| 512 RawClass* external_uint32_array_class_; | 519 RawClass* external_uint32_array_class_; |
| 513 RawClass* external_int64_array_class_; | 520 RawClass* external_int64_array_class_; |
| 514 RawClass* external_uint64_array_class_; | 521 RawClass* external_uint64_array_class_; |
| 515 RawClass* external_float32_array_class_; | 522 RawClass* external_float32_array_class_; |
| 516 RawClass* external_float64_array_class_; | 523 RawClass* external_float64_array_class_; |
| 517 RawClass* stacktrace_class_; | 524 RawClass* stacktrace_class_; |
| 518 RawClass* jsregexp_class_; | 525 RawClass* jsregexp_class_; |
| 526 RawClass* weak_property_class_; |
| 519 RawBool* true_value_; | 527 RawBool* true_value_; |
| 520 RawBool* false_value_; | 528 RawBool* false_value_; |
| 521 RawArray* symbol_table_; | 529 RawArray* symbol_table_; |
| 522 RawArray* canonical_type_arguments_; | 530 RawArray* canonical_type_arguments_; |
| 523 RawLibrary* core_library_; | 531 RawLibrary* core_library_; |
| 524 RawLibrary* core_impl_library_; | 532 RawLibrary* core_impl_library_; |
| 525 RawLibrary* math_library_; | 533 RawLibrary* math_library_; |
| 526 RawLibrary* isolate_library_; | 534 RawLibrary* isolate_library_; |
| 527 RawLibrary* mirrors_library_; | 535 RawLibrary* mirrors_library_; |
| 528 RawLibrary* native_wrappers_library_; | 536 RawLibrary* native_wrappers_library_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 539 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 547 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 540 | 548 |
| 541 friend class SnapshotReader; | 549 friend class SnapshotReader; |
| 542 | 550 |
| 543 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 551 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 544 }; | 552 }; |
| 545 | 553 |
| 546 } // namespace dart | 554 } // namespace dart |
| 547 | 555 |
| 548 #endif // VM_OBJECT_STORE_H_ | 556 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |