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

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

Issue 22425006: Fix equality of implicit closures in the Dart VM. (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
« 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 RawType* null_type() const { return null_type_; } 59 RawType* null_type() const { return null_type_; }
60 void set_null_type(const Type& value) { 60 void set_null_type(const Type& value) {
61 null_type_ = value.raw(); 61 null_type_ = value.raw();
62 } 62 }
63 63
64 RawType* function_type() const { return function_type_; } 64 RawType* function_type() const { return function_type_; }
65 void set_function_type(const Type& value) { 65 void set_function_type(const Type& value) {
66 function_type_ = value.raw(); 66 function_type_ = value.raw();
67 } 67 }
68 68
69 RawType* function_impl_type() const { return function_impl_type_; }
70 void set_function_impl_type(const Type& value) {
71 function_impl_type_ = value.raw();
72 }
73
69 RawClass* type_class() const { return type_class_; } 74 RawClass* type_class() const { return type_class_; }
70 void set_type_class(const Class& value) { type_class_ = value.raw(); } 75 void set_type_class(const Class& value) { type_class_ = value.raw(); }
71 76
72 RawClass* type_parameter_class() const { return type_parameter_class_; } 77 RawClass* type_parameter_class() const { return type_parameter_class_; }
73 void set_type_parameter_class(const Class& value) { 78 void set_type_parameter_class(const Class& value) {
74 type_parameter_class_ = value.raw(); 79 type_parameter_class_ = value.raw();
75 } 80 }
76 81
77 RawClass* bounded_type_class() const { return bounded_type_class_; } 82 RawClass* bounded_type_class() const { return bounded_type_class_; }
78 void set_bounded_type_class(const Class& value) { 83 void set_bounded_type_class(const Class& value) {
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 424
420 private: 425 private:
421 ObjectStore(); 426 ObjectStore();
422 427
423 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } 428 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); }
424 RawClass* object_class_; 429 RawClass* object_class_;
425 RawType* object_type_; 430 RawType* object_type_;
426 RawClass* null_class_; 431 RawClass* null_class_;
427 RawType* null_type_; 432 RawType* null_type_;
428 RawType* function_type_; 433 RawType* function_type_;
434 RawType* function_impl_type_;
429 RawClass* type_class_; 435 RawClass* type_class_;
430 RawClass* type_parameter_class_; 436 RawClass* type_parameter_class_;
431 RawClass* bounded_type_class_; 437 RawClass* bounded_type_class_;
432 RawClass* mixin_app_type_class_; 438 RawClass* mixin_app_type_class_;
433 RawType* number_type_; 439 RawType* number_type_;
434 RawType* int_type_; 440 RawType* int_type_;
435 RawClass* integer_implementation_class_; 441 RawClass* integer_implementation_class_;
436 RawClass* smi_class_; 442 RawClass* smi_class_;
437 RawType* smi_type_; 443 RawType* smi_type_;
438 RawClass* mint_class_; 444 RawClass* mint_class_;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 498 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
493 499
494 friend class SnapshotReader; 500 friend class SnapshotReader;
495 501
496 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 502 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
497 }; 503 };
498 504
499 } // namespace dart 505 } // namespace dart
500 506
501 #endif // VM_OBJECT_STORE_H_ 507 #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