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

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

Issue 10874071: Eliminate interface bool (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
OLDNEW
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 external_two_byte_string_class_ = value.raw(); 133 external_two_byte_string_class_ = value.raw();
134 } 134 }
135 135
136 RawClass* external_four_byte_string_class() const { 136 RawClass* external_four_byte_string_class() const {
137 return external_four_byte_string_class_; 137 return external_four_byte_string_class_;
138 } 138 }
139 void set_external_four_byte_string_class(const Class& value) { 139 void set_external_four_byte_string_class(const Class& value) {
140 external_four_byte_string_class_ = value.raw(); 140 external_four_byte_string_class_ = value.raw();
141 } 141 }
142 142
143 RawType* bool_interface() const { return bool_interface_; } 143 RawType* bool_type() const { return bool_type_; }
144 void set_bool_interface(const Type& value) { 144 void set_bool_type(const Type& value) { bool_type_ = value.raw(); }
145 bool_interface_ = value.raw();
146 }
147 145
148 RawClass* bool_class() const { return bool_class_; } 146 RawClass* bool_class() const { return bool_class_; }
149 void set_bool_class(const Class& value) { bool_class_ = value.raw(); } 147 void set_bool_class(const Class& value) { bool_class_ = value.raw(); }
150 148
151 RawType* list_interface() const { return list_interface_; } 149 RawType* list_interface() const { return list_interface_; }
152 void set_list_interface(const Type& value) { 150 void set_list_interface(const Type& value) {
153 list_interface_ = value.raw(); 151 list_interface_ = value.raw();
154 } 152 }
155 153
156 RawClass* array_class() const { return array_class_; } 154 RawClass* array_class() const { return array_class_; }
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 RawType* double_interface_; 483 RawType* double_interface_;
486 RawClass* double_class_; 484 RawClass* double_class_;
487 RawType* double_type_; 485 RawType* double_type_;
488 RawType* string_interface_; 486 RawType* string_interface_;
489 RawClass* one_byte_string_class_; 487 RawClass* one_byte_string_class_;
490 RawClass* two_byte_string_class_; 488 RawClass* two_byte_string_class_;
491 RawClass* four_byte_string_class_; 489 RawClass* four_byte_string_class_;
492 RawClass* external_one_byte_string_class_; 490 RawClass* external_one_byte_string_class_;
493 RawClass* external_two_byte_string_class_; 491 RawClass* external_two_byte_string_class_;
494 RawClass* external_four_byte_string_class_; 492 RawClass* external_four_byte_string_class_;
495 RawType* bool_interface_; 493 RawType* bool_type_;
496 RawClass* bool_class_; 494 RawClass* bool_class_;
497 RawType* list_interface_; 495 RawType* list_interface_;
498 RawClass* array_class_; 496 RawClass* array_class_;
499 RawClass* immutable_array_class_; 497 RawClass* immutable_array_class_;
500 RawClass* growable_object_array_class_; 498 RawClass* growable_object_array_class_;
501 RawType* byte_array_interface_; 499 RawType* byte_array_interface_;
502 RawClass* int8_array_class_; 500 RawClass* int8_array_class_;
503 RawClass* uint8_array_class_; 501 RawClass* uint8_array_class_;
504 RawClass* int16_array_class_; 502 RawClass* int16_array_class_;
505 RawClass* uint16_array_class_; 503 RawClass* uint16_array_class_;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 543 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
546 544
547 friend class SnapshotReader; 545 friend class SnapshotReader;
548 546
549 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 547 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
550 }; 548 };
551 549
552 } // namespace dart 550 } // namespace dart
553 551
554 #endif // VM_OBJECT_STORE_H_ 552 #endif // VM_OBJECT_STORE_H_
OLDNEW
« runtime/vm/object.cc ('K') | « 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