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

Unified Diff: runtime/vm/object.h

Issue 8772009: Address Regis' comments, replace AbstractType with Type where possible. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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_ia32.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 1991)
+++ runtime/vm/object.h (working copy)
@@ -408,7 +408,7 @@
// '<T, R>(T, [b: B, c: C]) => R', then its signature type is a parameterized
// type with this class as the type class and type parameters 'T' and 'R'
// as its type argument vector.
- RawAbstractType* SignatureType() const;
+ RawType* SignatureType() const;
RawLibrary* library() const { return raw_ptr()->library_; }
void set_library(const Library& value) const;
@@ -445,8 +445,8 @@
}
// The super type of this class, Object type if not explicitly specified.
- RawAbstractType* super_type() const { return raw_ptr()->super_type_; }
- void set_super_type(const AbstractType& value) const;
+ RawType* super_type() const { return raw_ptr()->super_type_; }
+ void set_super_type(const Type& value) const;
// Asserts that the class of the super type has been resolved.
RawClass* SuperClass() const;
@@ -467,6 +467,7 @@
void set_factory_class(const Object& value) const;
// Interfaces is an array of Types.
+ // TODO(srdjan): Return TypeArguments instead of Array?
RawArray* interfaces() const { return raw_ptr()->interfaces_; }
void set_interfaces(const Array& value) const;
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698