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

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

Issue 216383004: Merge initial implementation of deferred handling in the VM: (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 9 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
« 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 RawType* function_type() const { return function_type_; } 62 RawType* function_type() const { return function_type_; }
63 void set_function_type(const Type& value) { 63 void set_function_type(const Type& value) {
64 function_type_ = value.raw(); 64 function_type_ = value.raw();
65 } 65 }
66 66
67 RawType* function_impl_type() const { return function_impl_type_; } 67 RawType* function_impl_type() const { return function_impl_type_; }
68 void set_function_impl_type(const Type& value) { 68 void set_function_impl_type(const Type& value) {
69 function_impl_type_ = value.raw(); 69 function_impl_type_ = value.raw();
70 } 70 }
71 71
72 RawClass* library_prefix_class() const { return library_prefix_class_; }
73 void set_library_prefix_class(const Class& value) {
74 library_prefix_class_ = value.raw();
75 }
76
72 RawClass* type_class() const { return type_class_; } 77 RawClass* type_class() const { return type_class_; }
73 void set_type_class(const Class& value) { type_class_ = value.raw(); } 78 void set_type_class(const Class& value) { type_class_ = value.raw(); }
74 79
75 RawClass* type_ref_class() const { return type_ref_class_; } 80 RawClass* type_ref_class() const { return type_ref_class_; }
76 void set_type_ref_class(const Class& value) { type_ref_class_ = value.raw(); } 81 void set_type_ref_class(const Class& value) { type_ref_class_ = value.raw(); }
77 82
78 RawClass* type_parameter_class() const { return type_parameter_class_; } 83 RawClass* type_parameter_class() const { return type_parameter_class_; }
79 void set_type_parameter_class(const Class& value) { 84 void set_type_parameter_class(const Class& value) {
80 type_parameter_class_ = value.raw(); 85 type_parameter_class_ = value.raw();
81 } 86 }
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 private: 429 private:
425 ObjectStore(); 430 ObjectStore();
426 431
427 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } 432 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); }
428 RawClass* object_class_; 433 RawClass* object_class_;
429 RawType* object_type_; 434 RawType* object_type_;
430 RawClass* null_class_; 435 RawClass* null_class_;
431 RawType* null_type_; 436 RawType* null_type_;
432 RawType* function_type_; 437 RawType* function_type_;
433 RawType* function_impl_type_; 438 RawType* function_impl_type_;
439 RawClass* library_prefix_class_;
434 RawClass* type_class_; 440 RawClass* type_class_;
435 RawClass* type_ref_class_; 441 RawClass* type_ref_class_;
436 RawClass* type_parameter_class_; 442 RawClass* type_parameter_class_;
437 RawClass* bounded_type_class_; 443 RawClass* bounded_type_class_;
438 RawClass* mixin_app_type_class_; 444 RawClass* mixin_app_type_class_;
439 RawType* number_type_; 445 RawType* number_type_;
440 RawType* int_type_; 446 RawType* int_type_;
441 RawClass* integer_implementation_class_; 447 RawClass* integer_implementation_class_;
442 RawClass* smi_class_; 448 RawClass* smi_class_;
443 RawType* smi_type_; 449 RawType* smi_type_;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 } 506 }
501 507
502 friend class SnapshotReader; 508 friend class SnapshotReader;
503 509
504 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 510 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
505 }; 511 };
506 512
507 } // namespace dart 513 } // namespace dart
508 514
509 #endif // VM_OBJECT_STORE_H_ 515 #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