Index: runtime/vm/ast.cc |
=================================================================== |
--- runtime/vm/ast.cc (revision 24832) |
+++ runtime/vm/ast.cc (working copy) |
@@ -137,6 +137,11 @@ |
} |
+const char* TypeNode::Name() const { |
+ return String::Handle(type().UserVisibleName()).ToCString(); |
+} |
+ |
+ |
bool ComparisonNode::IsKindValid() const { |
return Token::IsRelationalOperator(kind_) |
|| Token::IsEqualityOperator(kind_) |
@@ -405,6 +410,11 @@ |
} |
+const char* LoadLocalNode::Name() const { |
+ return local().name().ToCString(); |
+} |
+ |
+ |
bool LoadLocalNode::IsPotentiallyConst() const { |
// Parameters of const constructors are implicitly final and can be |
// used in initializer expressions. |