| Index: runtime/vm/ast.h
|
| ===================================================================
|
| --- runtime/vm/ast.h (revision 1948)
|
| +++ runtime/vm/ast.h (working copy)
|
| @@ -353,21 +353,21 @@
|
|
|
| class TypeNode : public AstNode {
|
| public:
|
| - TypeNode(intptr_t token_index, const Type& type)
|
| + TypeNode(intptr_t token_index, const AbstractType& type)
|
| : AstNode(token_index), type_(type) {
|
| ASSERT(type.IsZoneHandle());
|
| ASSERT(!type.IsNull());
|
| ASSERT(type.IsFinalized());
|
| }
|
|
|
| - const Type& type() const { return type_; }
|
| + const AbstractType& type() const { return type_; }
|
|
|
| virtual void VisitChildren(AstNodeVisitor* visitor) const { }
|
|
|
| DECLARE_COMMON_NODE_FUNCTIONS(TypeNode);
|
|
|
| private:
|
| - const Type& type_;
|
| + const AbstractType& type_;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(TypeNode);
|
| };
|
| @@ -377,7 +377,7 @@
|
| public:
|
| AssignableNode(intptr_t token_index,
|
| AstNode* expr,
|
| - const Type& type,
|
| + const AbstractType& type,
|
| const String& dst_name)
|
| : AstNode(token_index), expr_(expr), type_(type), dst_name_(dst_name) {
|
| ASSERT(expr_ != NULL);
|
| @@ -388,7 +388,7 @@
|
| }
|
|
|
| AstNode* expr() const { return expr_; }
|
| - const Type& type() const { return type_; }
|
| + const AbstractType& type() const { return type_; }
|
| const String& dst_name() const { return dst_name_; }
|
|
|
| virtual void VisitChildren(AstNodeVisitor* visitor) const {
|
| @@ -399,7 +399,7 @@
|
|
|
| private:
|
| AstNode* expr_;
|
| - const Type& type_;
|
| + const AbstractType& type_;
|
| const String& dst_name_;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(AssignableNode);
|
|
|