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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index e6d6293481af9042ac057ef0c5f6093e519e1f78..344a8356c2c1d301c0d7261348a463a96bf260df 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -116,6 +116,11 @@ class ObjectStore {
string_type_ = value.raw();
}
+ RawClass* syntax_error_class() const { return syntax_error_class_; }
+ void set_syntax_error_class(const Class& value) {
+ syntax_error_class_ = value.raw();
+ }
+
RawClass* future_class() const { return future_class_; }
void set_future_class(const Class& value) {
future_class_ = value.raw();
@@ -532,6 +537,7 @@ class ObjectStore {
V(RawType*, int32x4_type_) \
V(RawType*, float64x2_type_) \
V(RawType*, string_type_) \
+ V(RawClass*, syntax_error_class_) \
V(RawClass*, future_class_) \
V(RawClass*, completer_class_) \
V(RawClass*, stream_iterator_class_) \

Powered by Google App Engine
This is Rietveld 408576698