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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 RawClass* float32x4_class() const { | 188 RawClass* float32x4_class() const { |
189 return float32x4_class_; | 189 return float32x4_class_; |
190 } | 190 } |
191 void set_float32x4_class(const Class& value) { | 191 void set_float32x4_class(const Class& value) { |
192 float32x4_class_ = value.raw(); | 192 float32x4_class_ = value.raw(); |
193 } | 193 } |
194 | 194 |
195 RawType* float32x4_type() const { return float32x4_type_; } | 195 RawType* float32x4_type() const { return float32x4_type_; } |
196 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); } | 196 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); } |
197 | 197 |
198 RawClass* uint32x4_class() const { | 198 RawClass* int32x4_class() const { |
199 return uint32x4_class_; | 199 return int32x4_class_; |
200 } | 200 } |
201 void set_uint32x4_class(const Class& value) { | 201 void set_int32x4_class(const Class& value) { |
202 uint32x4_class_ = value.raw(); | 202 int32x4_class_ = value.raw(); |
203 } | 203 } |
204 | 204 |
205 RawType* uint32x4_type() const { return uint32x4_type_; } | 205 RawType* int32x4_type() const { return int32x4_type_; } |
206 void set_uint32x4_type(const Type& value) { uint32x4_type_ = value.raw(); } | 206 void set_int32x4_type(const Type& value) { int32x4_type_ = value.raw(); } |
207 | 207 |
208 RawArray* typed_data_classes() const { | 208 RawArray* typed_data_classes() const { |
209 return typed_data_classes_; | 209 return typed_data_classes_; |
210 } | 210 } |
211 void set_typed_data_classes(const Array& value) { | 211 void set_typed_data_classes(const Array& value) { |
212 typed_data_classes_ = value.raw(); | 212 typed_data_classes_ = value.raw(); |
213 } | 213 } |
214 | 214 |
215 RawClass* error_class() const { | 215 RawClass* error_class() const { |
216 return error_class_; | 216 return error_class_; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 RawType* int_type_; | 434 RawType* int_type_; |
435 RawClass* integer_implementation_class_; | 435 RawClass* integer_implementation_class_; |
436 RawClass* smi_class_; | 436 RawClass* smi_class_; |
437 RawType* smi_type_; | 437 RawType* smi_type_; |
438 RawClass* mint_class_; | 438 RawClass* mint_class_; |
439 RawType* mint_type_; | 439 RawType* mint_type_; |
440 RawClass* bigint_class_; | 440 RawClass* bigint_class_; |
441 RawClass* double_class_; | 441 RawClass* double_class_; |
442 RawType* double_type_; | 442 RawType* double_type_; |
443 RawType* float32x4_type_; | 443 RawType* float32x4_type_; |
444 RawType* uint32x4_type_; | 444 RawType* int32x4_type_; |
445 RawType* string_type_; | 445 RawType* string_type_; |
446 RawClass* one_byte_string_class_; | 446 RawClass* one_byte_string_class_; |
447 RawClass* two_byte_string_class_; | 447 RawClass* two_byte_string_class_; |
448 RawClass* external_one_byte_string_class_; | 448 RawClass* external_one_byte_string_class_; |
449 RawClass* external_two_byte_string_class_; | 449 RawClass* external_two_byte_string_class_; |
450 RawType* bool_type_; | 450 RawType* bool_type_; |
451 RawClass* bool_class_; | 451 RawClass* bool_class_; |
452 RawClass* array_class_; | 452 RawClass* array_class_; |
453 RawType* array_type_; | 453 RawType* array_type_; |
454 RawClass* immutable_array_class_; | 454 RawClass* immutable_array_class_; |
455 RawClass* growable_object_array_class_; | 455 RawClass* growable_object_array_class_; |
456 RawClass* float32x4_class_; | 456 RawClass* float32x4_class_; |
457 RawClass* uint32x4_class_; | 457 RawClass* int32x4_class_; |
458 RawArray* typed_data_classes_; | 458 RawArray* typed_data_classes_; |
459 RawClass* error_class_; | 459 RawClass* error_class_; |
460 RawClass* stacktrace_class_; | 460 RawClass* stacktrace_class_; |
461 RawClass* jsregexp_class_; | 461 RawClass* jsregexp_class_; |
462 RawClass* weak_property_class_; | 462 RawClass* weak_property_class_; |
463 RawClass* mirror_reference_class_; | 463 RawClass* mirror_reference_class_; |
464 RawArray* symbol_table_; | 464 RawArray* symbol_table_; |
465 RawArray* canonical_type_arguments_; | 465 RawArray* canonical_type_arguments_; |
466 RawLibrary* async_library_; | 466 RawLibrary* async_library_; |
467 RawLibrary* builtin_library_; | 467 RawLibrary* builtin_library_; |
(...skipping 23 matching lines...) Expand all Loading... |
491 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 491 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
492 | 492 |
493 friend class SnapshotReader; | 493 friend class SnapshotReader; |
494 | 494 |
495 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 495 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
496 }; | 496 }; |
497 | 497 |
498 } // namespace dart | 498 } // namespace dart |
499 | 499 |
500 #endif // VM_OBJECT_STORE_H_ | 500 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |