| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 return OFFSET_OF(ObjectStore, growable_object_array_class_); | 174 return OFFSET_OF(ObjectStore, growable_object_array_class_); |
| 175 } | 175 } |
| 176 | 176 |
| 177 RawClass* float32x4_class() const { | 177 RawClass* float32x4_class() const { |
| 178 return float32x4_class_; | 178 return float32x4_class_; |
| 179 } | 179 } |
| 180 void set_float32x4_class(const Class& value) { | 180 void set_float32x4_class(const Class& value) { |
| 181 float32x4_class_ = value.raw(); | 181 float32x4_class_ = value.raw(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 RawType* float32x4_type() const { return float32x4_type_; } |
| 185 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); } |
| 186 |
| 184 RawClass* uint32x4_class() const { | 187 RawClass* uint32x4_class() const { |
| 185 return uint32x4_class_; | 188 return uint32x4_class_; |
| 186 } | 189 } |
| 187 void set_uint32x4_class(const Class& value) { | 190 void set_uint32x4_class(const Class& value) { |
| 188 uint32x4_class_ = value.raw(); | 191 uint32x4_class_ = value.raw(); |
| 189 } | 192 } |
| 190 | 193 |
| 194 RawType* uint32x4_type() const { return uint32x4_type_; } |
| 195 void set_uint32x4_type(const Type& value) { uint32x4_type_ = value.raw(); } |
| 196 |
| 191 RawArray* typeddata_classes() const { | 197 RawArray* typeddata_classes() const { |
| 192 return typeddata_classes_; | 198 return typeddata_classes_; |
| 193 } | 199 } |
| 194 void set_typeddata_classes(const Array& value) { | 200 void set_typeddata_classes(const Array& value) { |
| 195 typeddata_classes_ = value.raw(); | 201 typeddata_classes_ = value.raw(); |
| 196 } | 202 } |
| 197 | 203 |
| 198 RawClass* stacktrace_class() const { | 204 RawClass* stacktrace_class() const { |
| 199 return stacktrace_class_; | 205 return stacktrace_class_; |
| 200 } | 206 } |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 RawType* number_type_; | 441 RawType* number_type_; |
| 436 RawType* int_type_; | 442 RawType* int_type_; |
| 437 RawClass* integer_implementation_class_; | 443 RawClass* integer_implementation_class_; |
| 438 RawClass* smi_class_; | 444 RawClass* smi_class_; |
| 439 RawType* smi_type_; | 445 RawType* smi_type_; |
| 440 RawClass* mint_class_; | 446 RawClass* mint_class_; |
| 441 RawType* mint_type_; | 447 RawType* mint_type_; |
| 442 RawClass* bigint_class_; | 448 RawClass* bigint_class_; |
| 443 RawClass* double_class_; | 449 RawClass* double_class_; |
| 444 RawType* double_type_; | 450 RawType* double_type_; |
| 451 RawType* float32x4_type_; |
| 452 RawType* uint32x4_type_; |
| 445 RawType* string_type_; | 453 RawType* string_type_; |
| 446 RawClass* one_byte_string_class_; | 454 RawClass* one_byte_string_class_; |
| 447 RawClass* two_byte_string_class_; | 455 RawClass* two_byte_string_class_; |
| 448 RawClass* external_one_byte_string_class_; | 456 RawClass* external_one_byte_string_class_; |
| 449 RawClass* external_two_byte_string_class_; | 457 RawClass* external_two_byte_string_class_; |
| 450 RawType* bool_type_; | 458 RawType* bool_type_; |
| 451 RawClass* bool_class_; | 459 RawClass* bool_class_; |
| 452 RawClass* list_class_; | 460 RawClass* list_class_; |
| 453 RawClass* array_class_; | 461 RawClass* array_class_; |
| 454 RawType* array_type_; | 462 RawType* array_type_; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 501 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 494 | 502 |
| 495 friend class SnapshotReader; | 503 friend class SnapshotReader; |
| 496 | 504 |
| 497 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 505 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 498 }; | 506 }; |
| 499 | 507 |
| 500 } // namespace dart | 508 } // namespace dart |
| 501 | 509 |
| 502 #endif // VM_OBJECT_STORE_H_ | 510 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |