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

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

Issue 19106008: Fix for issue 11680 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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) 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 RawType* uint32x4_type() const { return uint32x4_type_; } 206 RawType* uint32x4_type() const { return uint32x4_type_; }
207 void set_uint32x4_type(const Type& value) { uint32x4_type_ = value.raw(); } 207 void set_uint32x4_type(const Type& value) { uint32x4_type_ = value.raw(); }
208 208
209 RawArray* typed_data_classes() const { 209 RawArray* typed_data_classes() const {
210 return typed_data_classes_; 210 return typed_data_classes_;
211 } 211 }
212 void set_typed_data_classes(const Array& value) { 212 void set_typed_data_classes(const Array& value) {
213 typed_data_classes_ = value.raw(); 213 typed_data_classes_ = value.raw();
214 } 214 }
215 215
216 RawClass* error_class() const {
217 return error_class_;
218 }
219 void set_error_class(const Class& value) {
220 error_class_ = value.raw();
221 }
222 static intptr_t error_class_offset() {
223 return OFFSET_OF(ObjectStore, error_class_);
224 }
225
216 RawClass* stacktrace_class() const { 226 RawClass* stacktrace_class() const {
217 return stacktrace_class_; 227 return stacktrace_class_;
218 } 228 }
219 void set_stacktrace_class(const Class& value) { 229 void set_stacktrace_class(const Class& value) {
220 stacktrace_class_ = value.raw(); 230 stacktrace_class_ = value.raw();
221 } 231 }
222 static intptr_t stacktrace_class_offset() { 232 static intptr_t stacktrace_class_offset() {
223 return OFFSET_OF(ObjectStore, stacktrace_class_); 233 return OFFSET_OF(ObjectStore, stacktrace_class_);
224 } 234 }
225 235
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 RawClass* external_two_byte_string_class_; 454 RawClass* external_two_byte_string_class_;
445 RawType* bool_type_; 455 RawType* bool_type_;
446 RawClass* bool_class_; 456 RawClass* bool_class_;
447 RawClass* array_class_; 457 RawClass* array_class_;
448 RawType* array_type_; 458 RawType* array_type_;
449 RawClass* immutable_array_class_; 459 RawClass* immutable_array_class_;
450 RawClass* growable_object_array_class_; 460 RawClass* growable_object_array_class_;
451 RawClass* float32x4_class_; 461 RawClass* float32x4_class_;
452 RawClass* uint32x4_class_; 462 RawClass* uint32x4_class_;
453 RawArray* typed_data_classes_; 463 RawArray* typed_data_classes_;
464 RawClass* error_class_;
454 RawClass* stacktrace_class_; 465 RawClass* stacktrace_class_;
455 RawClass* jsregexp_class_; 466 RawClass* jsregexp_class_;
456 RawClass* weak_property_class_; 467 RawClass* weak_property_class_;
457 RawClass* mirror_reference_class_; 468 RawClass* mirror_reference_class_;
458 RawArray* symbol_table_; 469 RawArray* symbol_table_;
459 RawArray* canonical_type_arguments_; 470 RawArray* canonical_type_arguments_;
460 RawLibrary* async_library_; 471 RawLibrary* async_library_;
461 RawLibrary* builtin_library_; 472 RawLibrary* builtin_library_;
462 RawLibrary* core_library_; 473 RawLibrary* core_library_;
463 RawLibrary* collection_library_; 474 RawLibrary* collection_library_;
(...skipping 22 matching lines...) Expand all
486 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 497 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
487 498
488 friend class SnapshotReader; 499 friend class SnapshotReader;
489 500
490 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 501 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
491 }; 502 };
492 503
493 } // namespace dart 504 } // namespace dart
494 505
495 #endif // VM_OBJECT_STORE_H_ 506 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698