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

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
« 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) 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 RawType* void_type_; 468 RawType* void_type_;
474 RawType* function_type_; 469 RawType* function_type_;
475 RawType* number_type_; 470 RawType* number_type_;
476 RawType* int_interface_; 471 RawType* int_interface_;
477 RawClass* integer_implementation_class_; 472 RawClass* integer_implementation_class_;
478 RawClass* smi_class_; 473 RawClass* smi_class_;
479 RawType* smi_type_; 474 RawType* smi_type_;
480 RawClass* mint_class_; 475 RawClass* mint_class_;
481 RawType* mint_type_; 476 RawType* mint_type_;
482 RawClass* bigint_class_; 477 RawClass* bigint_class_;
483 RawType* double_interface_;
484 RawClass* double_class_; 478 RawClass* double_class_;
485 RawType* double_type_; 479 RawType* double_type_;
486 RawType* string_interface_; 480 RawType* string_interface_;
487 RawClass* one_byte_string_class_; 481 RawClass* one_byte_string_class_;
488 RawClass* two_byte_string_class_; 482 RawClass* two_byte_string_class_;
489 RawClass* four_byte_string_class_; 483 RawClass* four_byte_string_class_;
490 RawClass* external_one_byte_string_class_; 484 RawClass* external_one_byte_string_class_;
491 RawClass* external_two_byte_string_class_; 485 RawClass* external_two_byte_string_class_;
492 RawClass* external_four_byte_string_class_; 486 RawClass* external_four_byte_string_class_;
493 RawType* bool_type_; 487 RawType* bool_type_;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 537 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
544 538
545 friend class SnapshotReader; 539 friend class SnapshotReader;
546 540
547 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 541 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
548 }; 542 };
549 543
550 } // namespace dart 544 } // namespace dart
551 545
552 #endif // VM_OBJECT_STORE_H_ 546 #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