| Index: runtime/vm/ast.h
|
| diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
|
| index f212a1592f98550d3fe060221d6f65d04f5f78c4..c770d0e7b26b32aa83349a566e8ec9fbed0bf0a0 100644
|
| --- a/runtime/vm/ast.h
|
| +++ b/runtime/vm/ast.h
|
| @@ -92,7 +92,7 @@ class AstNodeVisitor : public ValueObject {
|
|
|
| #define DECLARE_COMMON_NODE_FUNCTIONS(type) \
|
| virtual void Visit(AstNodeVisitor* visitor); \
|
| - virtual const char* PrettyName() const; \
|
| + virtual const char* Name() const; \
|
| virtual type* As##type() { return this; }
|
|
|
|
|
| @@ -116,7 +116,7 @@ class AstNode : public ZoneAllocated {
|
|
|
| virtual void Visit(AstNodeVisitor* visitor) = 0;
|
| virtual void VisitChildren(AstNodeVisitor* visitor) const = 0;
|
| - virtual const char* PrettyName() const = 0;
|
| + virtual const char* Name() const = 0;
|
|
|
| // Convert the node into an assignment node using the rhs which is passed in,
|
| // this is typically used for converting nodes like LoadLocalNode,
|
|
|