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

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

Issue 11085003: Convert String to a class. (Closed) Base URL: https://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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 RawClass* mint_class() const { return mint_class_; } 96 RawClass* mint_class() const { return mint_class_; }
97 void set_mint_class(const Class& value) { mint_class_ = value.raw(); } 97 void set_mint_class(const Class& value) { mint_class_ = value.raw(); }
98 98
99 RawType* mint_type() const { return mint_type_; } 99 RawType* mint_type() const { return mint_type_; }
100 void set_mint_type(const Type& value) { mint_type_ = value.raw(); } 100 void set_mint_type(const Type& value) { mint_type_ = value.raw(); }
101 101
102 RawClass* bigint_class() const { return bigint_class_; } 102 RawClass* bigint_class() const { return bigint_class_; }
103 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); } 103 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); }
104 104
105 RawType* string_interface() const { return string_interface_; } 105 RawType* string_type() const { return string_type_; }
106 void set_string_interface(const Type& value) { 106 void set_string_type(const Type& value) {
107 string_interface_ = value.raw(); 107 string_type_ = value.raw();
108 } 108 }
109 109
110 RawClass* one_byte_string_class() const { return one_byte_string_class_; } 110 RawClass* one_byte_string_class() const { return one_byte_string_class_; }
111 void set_one_byte_string_class(const Class& value) { 111 void set_one_byte_string_class(const Class& value) {
112 one_byte_string_class_ = value.raw(); 112 one_byte_string_class_ = value.raw();
113 } 113 }
114 114
115 RawClass* two_byte_string_class() const { return two_byte_string_class_; } 115 RawClass* two_byte_string_class() const { return two_byte_string_class_; }
116 void set_two_byte_string_class(const Class& value) { 116 void set_two_byte_string_class(const Class& value) {
117 two_byte_string_class_ = value.raw(); 117 two_byte_string_class_ = value.raw();
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 RawType* number_type_; 477 RawType* number_type_;
478 RawType* int_type_; 478 RawType* int_type_;
479 RawClass* integer_implementation_class_; 479 RawClass* integer_implementation_class_;
480 RawClass* smi_class_; 480 RawClass* smi_class_;
481 RawType* smi_type_; 481 RawType* smi_type_;
482 RawClass* mint_class_; 482 RawClass* mint_class_;
483 RawType* mint_type_; 483 RawType* mint_type_;
484 RawClass* bigint_class_; 484 RawClass* bigint_class_;
485 RawClass* double_class_; 485 RawClass* double_class_;
486 RawType* double_type_; 486 RawType* double_type_;
487 RawType* string_interface_; 487 RawType* string_type_;
488 RawClass* one_byte_string_class_; 488 RawClass* one_byte_string_class_;
489 RawClass* two_byte_string_class_; 489 RawClass* two_byte_string_class_;
490 RawClass* four_byte_string_class_; 490 RawClass* four_byte_string_class_;
491 RawClass* external_one_byte_string_class_; 491 RawClass* external_one_byte_string_class_;
492 RawClass* external_two_byte_string_class_; 492 RawClass* external_two_byte_string_class_;
493 RawClass* external_four_byte_string_class_; 493 RawClass* external_four_byte_string_class_;
494 RawType* bool_type_; 494 RawType* bool_type_;
495 RawClass* bool_class_; 495 RawClass* bool_class_;
496 RawType* list_interface_; 496 RawType* list_interface_;
497 RawClass* array_class_; 497 RawClass* array_class_;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 543 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
544 544
545 friend class SnapshotReader; 545 friend class SnapshotReader;
546 546
547 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 547 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
548 }; 548 };
549 549
550 } // namespace dart 550 } // namespace dart
551 551
552 #endif // VM_OBJECT_STORE_H_ 552 #endif // VM_OBJECT_STORE_H_
OLDNEW
« runtime/vm/object.h ('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