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

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: Merged to tip of bleeding_edge. Updated test expecteation Created 8 years, 1 month 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 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 RawType* number_type_; 472 RawType* number_type_;
473 RawType* int_type_; 473 RawType* int_type_;
474 RawClass* integer_implementation_class_; 474 RawClass* integer_implementation_class_;
475 RawClass* smi_class_; 475 RawClass* smi_class_;
476 RawType* smi_type_; 476 RawType* smi_type_;
477 RawClass* mint_class_; 477 RawClass* mint_class_;
478 RawType* mint_type_; 478 RawType* mint_type_;
479 RawClass* bigint_class_; 479 RawClass* bigint_class_;
480 RawClass* double_class_; 480 RawClass* double_class_;
481 RawType* double_type_; 481 RawType* double_type_;
482 RawType* string_interface_; 482 RawType* string_type_;
483 RawClass* one_byte_string_class_; 483 RawClass* one_byte_string_class_;
484 RawClass* two_byte_string_class_; 484 RawClass* two_byte_string_class_;
485 RawClass* external_one_byte_string_class_; 485 RawClass* external_one_byte_string_class_;
486 RawClass* external_two_byte_string_class_; 486 RawClass* external_two_byte_string_class_;
487 RawType* bool_type_; 487 RawType* bool_type_;
488 RawClass* bool_class_; 488 RawClass* bool_class_;
489 RawType* list_interface_; 489 RawType* list_interface_;
490 RawClass* array_class_; 490 RawClass* array_class_;
491 RawClass* immutable_array_class_; 491 RawClass* immutable_array_class_;
492 RawClass* growable_object_array_class_; 492 RawClass* growable_object_array_class_;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 537 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
538 538
539 friend class SnapshotReader; 539 friend class SnapshotReader;
540 540
541 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 541 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
542 }; 542 };
543 543
544 } // namespace dart 544 } // namespace dart
545 545
546 #endif // VM_OBJECT_STORE_H_ 546 #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