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

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

Issue 380333002: Add VM class for Map/LinkedHashMap. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 RawClass* growable_object_array_class() const { 187 RawClass* growable_object_array_class() const {
188 return growable_object_array_class_; 188 return growable_object_array_class_;
189 } 189 }
190 void set_growable_object_array_class(const Class& value) { 190 void set_growable_object_array_class(const Class& value) {
191 growable_object_array_class_ = value.raw(); 191 growable_object_array_class_ = value.raw();
192 } 192 }
193 static intptr_t growable_object_array_class_offset() { 193 static intptr_t growable_object_array_class_offset() {
194 return OFFSET_OF(ObjectStore, growable_object_array_class_); 194 return OFFSET_OF(ObjectStore, growable_object_array_class_);
195 } 195 }
196 196
197 RawClass* linked_hash_map_class() const {
198 return linked_hash_map_class_;
199 }
200 void set_linked_hash_map_class(const Class& value) {
201 linked_hash_map_class_ = value.raw();
202 }
203
197 RawClass* float32x4_class() const { 204 RawClass* float32x4_class() const {
198 return float32x4_class_; 205 return float32x4_class_;
199 } 206 }
200 void set_float32x4_class(const Class& value) { 207 void set_float32x4_class(const Class& value) {
201 float32x4_class_ = value.raw(); 208 float32x4_class_ = value.raw();
202 } 209 }
203 210
204 RawType* float32x4_type() const { return float32x4_type_; } 211 RawType* float32x4_type() const { return float32x4_type_; }
205 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); } 212 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); }
206 213
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 RawClass* one_byte_string_class_; 471 RawClass* one_byte_string_class_;
465 RawClass* two_byte_string_class_; 472 RawClass* two_byte_string_class_;
466 RawClass* external_one_byte_string_class_; 473 RawClass* external_one_byte_string_class_;
467 RawClass* external_two_byte_string_class_; 474 RawClass* external_two_byte_string_class_;
468 RawType* bool_type_; 475 RawType* bool_type_;
469 RawClass* bool_class_; 476 RawClass* bool_class_;
470 RawClass* array_class_; 477 RawClass* array_class_;
471 RawType* array_type_; 478 RawType* array_type_;
472 RawClass* immutable_array_class_; 479 RawClass* immutable_array_class_;
473 RawClass* growable_object_array_class_; 480 RawClass* growable_object_array_class_;
481 RawClass* linked_hash_map_class_;
474 RawClass* float32x4_class_; 482 RawClass* float32x4_class_;
475 RawClass* int32x4_class_; 483 RawClass* int32x4_class_;
476 RawClass* float64x2_class_; 484 RawClass* float64x2_class_;
477 RawArray* typed_data_classes_; 485 RawArray* typed_data_classes_;
478 RawClass* error_class_; 486 RawClass* error_class_;
479 RawClass* stacktrace_class_; 487 RawClass* stacktrace_class_;
480 RawClass* weak_property_class_; 488 RawClass* weak_property_class_;
481 RawArray* symbol_table_; 489 RawArray* symbol_table_;
482 RawArray* canonical_type_arguments_; 490 RawArray* canonical_type_arguments_;
483 RawLibrary* async_library_; 491 RawLibrary* async_library_;
(...skipping 28 matching lines...) Expand all
512 } 520 }
513 521
514 friend class SnapshotReader; 522 friend class SnapshotReader;
515 523
516 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 524 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
517 }; 525 };
518 526
519 } // namespace dart 527 } // namespace dart
520 528
521 #endif // VM_OBJECT_STORE_H_ 529 #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