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

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

Issue 10933039: Make int an abstract class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Now with correct base. Created 8 years, 3 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 RawType* function_type() const { return function_type_; } 53 RawType* function_type() const { return function_type_; }
54 void set_function_type(const Type& value) { 54 void set_function_type(const Type& value) {
55 function_type_ = value.raw(); 55 function_type_ = value.raw();
56 } 56 }
57 57
58 RawType* number_type() const { return number_type_; } 58 RawType* number_type() const { return number_type_; }
59 void set_number_type(const Type& value) { 59 void set_number_type(const Type& value) {
60 number_type_ = value.raw(); 60 number_type_ = value.raw();
61 } 61 }
62 62
63 RawType* int_interface() const { return int_interface_; } 63 RawType* int_type() const { return int_type_; }
64 void set_int_interface(const Type& value) { 64 void set_int_type(const Type& value) {
65 int_interface_ = value.raw(); 65 int_type_ = value.raw();
66 } 66 }
67 67
68 RawClass* integer_implementation_class() const { 68 RawClass* integer_implementation_class() const {
69 return integer_implementation_class_; 69 return integer_implementation_class_;
70 } 70 }
71 void set_integer_implementation_class(const Class& value) { 71 void set_integer_implementation_class(const Class& value) {
72 integer_implementation_class_ = value.raw(); 72 integer_implementation_class_ = value.raw();
73 } 73 }
74 74
75 RawClass* smi_class() const { return smi_class_; } 75 RawClass* smi_class() const { return smi_class_; }
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 ObjectStore(); 456 ObjectStore();
457 457
458 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } 458 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); }
459 RawClass* object_class_; 459 RawClass* object_class_;
460 RawType* object_type_; 460 RawType* object_type_;
461 RawType* null_type_; 461 RawType* null_type_;
462 RawType* dynamic_type_; 462 RawType* dynamic_type_;
463 RawType* void_type_; 463 RawType* void_type_;
464 RawType* function_type_; 464 RawType* function_type_;
465 RawType* number_type_; 465 RawType* number_type_;
466 RawType* int_interface_; 466 RawType* int_type_;
467 RawClass* integer_implementation_class_; 467 RawClass* integer_implementation_class_;
468 RawClass* smi_class_; 468 RawClass* smi_class_;
469 RawType* smi_type_; 469 RawType* smi_type_;
470 RawClass* mint_class_; 470 RawClass* mint_class_;
471 RawType* mint_type_; 471 RawType* mint_type_;
472 RawClass* bigint_class_; 472 RawClass* bigint_class_;
473 RawClass* double_class_; 473 RawClass* double_class_;
474 RawType* double_type_; 474 RawType* double_type_;
475 RawType* string_interface_; 475 RawType* string_interface_;
476 RawClass* one_byte_string_class_; 476 RawClass* one_byte_string_class_;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 531 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
532 532
533 friend class SnapshotReader; 533 friend class SnapshotReader;
534 534
535 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 535 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
536 }; 536 };
537 537
538 } // namespace dart 538 } // namespace dart
539 539
540 #endif // VM_OBJECT_STORE_H_ 540 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698