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

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

Issue 18737004: List class was not initialized properly (it has type parameters). Do not preinitialize it incorrect… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void set_external_two_byte_string_class(const Class& value) { 154 void set_external_two_byte_string_class(const Class& value) {
155 external_two_byte_string_class_ = value.raw(); 155 external_two_byte_string_class_ = value.raw();
156 } 156 }
157 157
158 RawType* bool_type() const { return bool_type_; } 158 RawType* bool_type() const { return bool_type_; }
159 void set_bool_type(const Type& value) { bool_type_ = value.raw(); } 159 void set_bool_type(const Type& value) { bool_type_ = value.raw(); }
160 160
161 RawClass* bool_class() const { return bool_class_; } 161 RawClass* bool_class() const { return bool_class_; }
162 void set_bool_class(const Class& value) { bool_class_ = value.raw(); } 162 void set_bool_class(const Class& value) { bool_class_ = value.raw(); }
163 163
164 RawClass* list_class() const { return list_class_; }
165 void set_list_class(const Class& value) { list_class_ = value.raw(); }
166
167 RawClass* array_class() const { return array_class_; } 164 RawClass* array_class() const { return array_class_; }
168 void set_array_class(const Class& value) { array_class_ = value.raw(); } 165 void set_array_class(const Class& value) { array_class_ = value.raw(); }
169 static intptr_t array_class_offset() { 166 static intptr_t array_class_offset() {
170 return OFFSET_OF(ObjectStore, array_class_); 167 return OFFSET_OF(ObjectStore, array_class_);
171 } 168 }
172 169
173 RawType* array_type() const { return array_type_; } 170 RawType* array_type() const { return array_type_; }
174 void set_array_type(const Type& value) { array_type_ = value.raw(); } 171 void set_array_type(const Type& value) { array_type_ = value.raw(); }
175 172
176 RawClass* immutable_array_class() const { return immutable_array_class_; } 173 RawClass* immutable_array_class() const { return immutable_array_class_; }
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 RawType* double_type_; 432 RawType* double_type_;
436 RawType* float32x4_type_; 433 RawType* float32x4_type_;
437 RawType* uint32x4_type_; 434 RawType* uint32x4_type_;
438 RawType* string_type_; 435 RawType* string_type_;
439 RawClass* one_byte_string_class_; 436 RawClass* one_byte_string_class_;
440 RawClass* two_byte_string_class_; 437 RawClass* two_byte_string_class_;
441 RawClass* external_one_byte_string_class_; 438 RawClass* external_one_byte_string_class_;
442 RawClass* external_two_byte_string_class_; 439 RawClass* external_two_byte_string_class_;
443 RawType* bool_type_; 440 RawType* bool_type_;
444 RawClass* bool_class_; 441 RawClass* bool_class_;
445 RawClass* list_class_;
446 RawClass* array_class_; 442 RawClass* array_class_;
447 RawType* array_type_; 443 RawType* array_type_;
448 RawClass* immutable_array_class_; 444 RawClass* immutable_array_class_;
449 RawClass* growable_object_array_class_; 445 RawClass* growable_object_array_class_;
450 RawClass* float32x4_class_; 446 RawClass* float32x4_class_;
451 RawClass* uint32x4_class_; 447 RawClass* uint32x4_class_;
452 RawArray* typed_data_classes_; 448 RawArray* typed_data_classes_;
453 RawClass* stacktrace_class_; 449 RawClass* stacktrace_class_;
454 RawClass* jsregexp_class_; 450 RawClass* jsregexp_class_;
455 RawClass* weak_property_class_; 451 RawClass* weak_property_class_;
(...skipping 28 matching lines...) Expand all
484 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 480 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
485 481
486 friend class SnapshotReader; 482 friend class SnapshotReader;
487 483
488 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 484 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
489 }; 485 };
490 486
491 } // namespace dart 487 } // namespace dart
492 488
493 #endif // VM_OBJECT_STORE_H_ 489 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698