Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Side by Side Diff: runtime/vm/object_store.h

Issue 11031063: Fix bug 5575: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 void set_list_interface(const Type& value) { 153 void set_list_interface(const Type& value) {
154 list_interface_ = value.raw(); 154 list_interface_ = value.raw();
155 } 155 }
156 156
157 RawClass* array_class() const { return array_class_; } 157 RawClass* array_class() const { return array_class_; }
158 void set_array_class(const Class& value) { array_class_ = value.raw(); } 158 void set_array_class(const Class& value) { array_class_ = value.raw(); }
159 static intptr_t array_class_offset() { 159 static intptr_t array_class_offset() {
160 return OFFSET_OF(ObjectStore, array_class_); 160 return OFFSET_OF(ObjectStore, array_class_);
161 } 161 }
162 162
163 RawType* byte_array_interface() const { return byte_array_interface_; }
164 void set_byte_array_interface(const Type& value) {
165 byte_array_interface_ = value.raw();
166 }
167
168 RawClass* immutable_array_class() const { return immutable_array_class_; } 163 RawClass* immutable_array_class() const { return immutable_array_class_; }
169 void set_immutable_array_class(const Class& value) { 164 void set_immutable_array_class(const Class& value) {
170 immutable_array_class_ = value.raw(); 165 immutable_array_class_ = value.raw();
171 } 166 }
172 167
173 RawClass* growable_object_array_class() const { 168 RawClass* growable_object_array_class() const {
174 return growable_object_array_class_; 169 return growable_object_array_class_;
175 } 170 }
176 void set_growable_object_array_class(const Class& value) { 171 void set_growable_object_array_class(const Class& value) {
177 growable_object_array_class_ = value.raw(); 172 growable_object_array_class_ = value.raw();
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 RawClass* four_byte_string_class_; 490 RawClass* four_byte_string_class_;
496 RawClass* external_one_byte_string_class_; 491 RawClass* external_one_byte_string_class_;
497 RawClass* external_two_byte_string_class_; 492 RawClass* external_two_byte_string_class_;
498 RawClass* external_four_byte_string_class_; 493 RawClass* external_four_byte_string_class_;
499 RawType* bool_type_; 494 RawType* bool_type_;
500 RawClass* bool_class_; 495 RawClass* bool_class_;
501 RawType* list_interface_; 496 RawType* list_interface_;
502 RawClass* array_class_; 497 RawClass* array_class_;
503 RawClass* immutable_array_class_; 498 RawClass* immutable_array_class_;
504 RawClass* growable_object_array_class_; 499 RawClass* growable_object_array_class_;
505 RawType* byte_array_interface_;
506 RawClass* int8_array_class_; 500 RawClass* int8_array_class_;
507 RawClass* uint8_array_class_; 501 RawClass* uint8_array_class_;
508 RawClass* int16_array_class_; 502 RawClass* int16_array_class_;
509 RawClass* uint16_array_class_; 503 RawClass* uint16_array_class_;
510 RawClass* int32_array_class_; 504 RawClass* int32_array_class_;
511 RawClass* uint32_array_class_; 505 RawClass* uint32_array_class_;
512 RawClass* int64_array_class_; 506 RawClass* int64_array_class_;
513 RawClass* uint64_array_class_; 507 RawClass* uint64_array_class_;
514 RawClass* float32_array_class_; 508 RawClass* float32_array_class_;
515 RawClass* float64_array_class_; 509 RawClass* float64_array_class_;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 543 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
550 544
551 friend class SnapshotReader; 545 friend class SnapshotReader;
552 546
553 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 547 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
554 }; 548 };
555 549
556 } // namespace dart 550 } // namespace dart
557 551
558 #endif // VM_OBJECT_STORE_H_ 552 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698