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

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

Issue 10876100: Convert double interface into abstract class (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_; }
76 void set_smi_class(const Class& value) { smi_class_ = value.raw(); } 76 void set_smi_class(const Class& value) { smi_class_ = value.raw(); }
77 77
78 RawType* smi_type() const { return smi_type_; } 78 RawType* smi_type() const { return smi_type_; }
79 void set_smi_type(const Type& value) { smi_type_ = value.raw(); 79 void set_smi_type(const Type& value) { smi_type_ = value.raw();
80 } 80 }
81 81
82 RawType* double_interface() const { return double_interface_; }
83 void set_double_interface(const Type& value) {
84 double_interface_ = value.raw();
85 }
86
87 RawClass* double_class() const { return double_class_; } 82 RawClass* double_class() const { return double_class_; }
88 void set_double_class(const Class& value) { double_class_ = value.raw(); } 83 void set_double_class(const Class& value) { double_class_ = value.raw(); }
89 84
90 RawType* double_type() const { return double_type_; } 85 RawType* double_type() const { return double_type_; }
91 void set_double_type(const Type& value) { double_type_ = value.raw(); } 86 void set_double_type(const Type& value) { double_type_ = value.raw(); }
92 87
93 RawClass* mint_class() const { return mint_class_; } 88 RawClass* mint_class() const { return mint_class_; }
94 void set_mint_class(const Class& value) { mint_class_ = value.raw(); } 89 void set_mint_class(const Class& value) { mint_class_ = value.raw(); }
95 90
96 RawType* mint_type() const { return mint_type_; } 91 RawType* mint_type() const { return mint_type_; }
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 RawType* void_type_; 470 RawType* void_type_;
476 RawType* function_type_; 471 RawType* function_type_;
477 RawType* number_type_; 472 RawType* number_type_;
478 RawType* int_interface_; 473 RawType* int_interface_;
479 RawClass* integer_implementation_class_; 474 RawClass* integer_implementation_class_;
480 RawClass* smi_class_; 475 RawClass* smi_class_;
481 RawType* smi_type_; 476 RawType* smi_type_;
482 RawClass* mint_class_; 477 RawClass* mint_class_;
483 RawType* mint_type_; 478 RawType* mint_type_;
484 RawClass* bigint_class_; 479 RawClass* bigint_class_;
485 RawType* double_interface_;
486 RawClass* double_class_; 480 RawClass* double_class_;
487 RawType* double_type_; 481 RawType* double_type_;
488 RawType* string_interface_; 482 RawType* string_interface_;
489 RawClass* one_byte_string_class_; 483 RawClass* one_byte_string_class_;
490 RawClass* two_byte_string_class_; 484 RawClass* two_byte_string_class_;
491 RawClass* four_byte_string_class_; 485 RawClass* four_byte_string_class_;
492 RawClass* external_one_byte_string_class_; 486 RawClass* external_one_byte_string_class_;
493 RawClass* external_two_byte_string_class_; 487 RawClass* external_two_byte_string_class_;
494 RawClass* external_four_byte_string_class_; 488 RawClass* external_four_byte_string_class_;
495 RawType* bool_interface_; 489 RawType* bool_interface_;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 539 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
546 540
547 friend class SnapshotReader; 541 friend class SnapshotReader;
548 542
549 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 543 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
550 }; 544 };
551 545
552 } // namespace dart 546 } // namespace dart
553 547
554 #endif // VM_OBJECT_STORE_H_ 548 #endif // VM_OBJECT_STORE_H_
OLDNEW
« runtime/vm/object.cc ('K') | « 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