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

Unified Diff: runtime/vm/object.h

Issue 9515011: Add support for malformed types and postpone some related errors from compile (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « runtime/vm/code_generator_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 4731)
+++ runtime/vm/object.h (working copy)
@@ -778,6 +778,9 @@
public:
virtual bool IsFinalized() const;
virtual bool IsBeingFinalized() const;
+ virtual bool IsMalformed() const;
+ virtual RawError* malformed_error() const;
+ virtual void set_malformed_error(const Error& value) const;
virtual bool IsResolved() const;
virtual bool HasResolvedTypeClass() const;
virtual RawClass* type_class() const;
@@ -893,6 +896,9 @@
return raw_ptr()->type_state_ == RawType::kBeingFinalized;
}
void set_is_being_finalized() const;
+ virtual bool IsMalformed() const;
+ virtual RawError* malformed_error() const;
+ virtual void set_malformed_error(const Error& value) const;
virtual bool IsResolved() const; // Class and all arguments classes resolved.
virtual bool HasResolvedTypeClass() const; // Own type class resolved.
virtual RawClass* type_class() const;
@@ -976,6 +982,7 @@
}
void set_is_finalized() const;
virtual bool IsBeingFinalized() const { return false; }
+ virtual bool IsMalformed() const { return false; }
virtual bool IsResolved() const { return true; }
virtual bool HasResolvedTypeClass() const { return false; }
virtual RawString* Name() const { return raw_ptr()->name_; }
@@ -1020,6 +1027,7 @@
public:
virtual bool IsFinalized() const { return true; }
virtual bool IsBeingFinalized() const { return false; }
+ virtual bool IsMalformed() const { return false; }
virtual bool IsResolved() const { return true; }
virtual bool HasResolvedTypeClass() const { return true; }
virtual RawClass* type_class() const;
« no previous file with comments | « runtime/vm/code_generator_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698