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

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

Issue 2044753002: Make compile-time errors catchable (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 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
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void set_mint_type(const Type& value) { mint_type_ = value.raw(); } 109 void set_mint_type(const Type& value) { mint_type_ = value.raw(); }
110 110
111 RawClass* bigint_class() const { return bigint_class_; } 111 RawClass* bigint_class() const { return bigint_class_; }
112 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); } 112 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); }
113 113
114 RawType* string_type() const { return string_type_; } 114 RawType* string_type() const { return string_type_; }
115 void set_string_type(const Type& value) { 115 void set_string_type(const Type& value) {
116 string_type_ = value.raw(); 116 string_type_ = value.raw();
117 } 117 }
118 118
119 RawClass* syntax_error_class() const { return syntax_error_class_; }
120 void set_syntax_error_class(const Class& value) {
121 syntax_error_class_ = value.raw();
122 }
123
119 RawClass* future_class() const { return future_class_; } 124 RawClass* future_class() const { return future_class_; }
120 void set_future_class(const Class& value) { 125 void set_future_class(const Class& value) {
121 future_class_ = value.raw(); 126 future_class_ = value.raw();
122 } 127 }
123 128
124 RawClass* completer_class() const { return completer_class_; } 129 RawClass* completer_class() const { return completer_class_; }
125 void set_completer_class(const Class& value) { 130 void set_completer_class(const Class& value) {
126 completer_class_ = value.raw(); 131 completer_class_ = value.raw();
127 } 132 }
128 133
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 V(RawType*, smi_type_) \ 530 V(RawType*, smi_type_) \
526 V(RawClass*, mint_class_) \ 531 V(RawClass*, mint_class_) \
527 V(RawType*, mint_type_) \ 532 V(RawType*, mint_type_) \
528 V(RawClass*, bigint_class_) \ 533 V(RawClass*, bigint_class_) \
529 V(RawClass*, double_class_) \ 534 V(RawClass*, double_class_) \
530 V(RawType*, double_type_) \ 535 V(RawType*, double_type_) \
531 V(RawType*, float32x4_type_) \ 536 V(RawType*, float32x4_type_) \
532 V(RawType*, int32x4_type_) \ 537 V(RawType*, int32x4_type_) \
533 V(RawType*, float64x2_type_) \ 538 V(RawType*, float64x2_type_) \
534 V(RawType*, string_type_) \ 539 V(RawType*, string_type_) \
540 V(RawClass*, syntax_error_class_) \
535 V(RawClass*, future_class_) \ 541 V(RawClass*, future_class_) \
536 V(RawClass*, completer_class_) \ 542 V(RawClass*, completer_class_) \
537 V(RawClass*, stream_iterator_class_) \ 543 V(RawClass*, stream_iterator_class_) \
538 V(RawClass*, symbol_class_) \ 544 V(RawClass*, symbol_class_) \
539 V(RawClass*, one_byte_string_class_) \ 545 V(RawClass*, one_byte_string_class_) \
540 V(RawClass*, two_byte_string_class_) \ 546 V(RawClass*, two_byte_string_class_) \
541 V(RawClass*, external_one_byte_string_class_) \ 547 V(RawClass*, external_one_byte_string_class_) \
542 V(RawClass*, external_two_byte_string_class_) \ 548 V(RawClass*, external_two_byte_string_class_) \
543 V(RawType*, bool_type_) \ 549 V(RawType*, bool_type_) \
544 V(RawClass*, bool_class_) \ 550 V(RawClass*, bool_class_) \
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 631
626 friend class Serializer; 632 friend class Serializer;
627 friend class Deserializer; 633 friend class Deserializer;
628 634
629 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 635 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
630 }; 636 };
631 637
632 } // namespace dart 638 } // namespace dart
633 639
634 #endif // VM_OBJECT_STORE_H_ 640 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698