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

Unified Diff: runtime/vm/ast.cc

Issue 1723733002: Simplify various name flavors in VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 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/ast.h ('k') | runtime/vm/ast_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.cc
diff --git a/runtime/vm/ast.cc b/runtime/vm/ast.cc
index ef8d4cc38c72998035b4adc98bf3982b45712e49..d1cd87779af320925fe9863d43ecfbf023ceef59 100644
--- a/runtime/vm/ast.cc
+++ b/runtime/vm/ast.cc
@@ -19,7 +19,7 @@ DEFINE_FLAG(bool, trace_ast_visitor, false,
#define DEFINE_VISIT_FUNCTION(BaseName) \
void BaseName##Node::Visit(AstNodeVisitor* visitor) { \
if (FLAG_trace_ast_visitor) { \
- THR_Print("Visiting %s\n", PrettyName()); \
+ THR_Print("Visiting %s\n", Name()); \
} \
visitor->Visit##BaseName##Node(this); \
}
@@ -29,7 +29,7 @@ FOR_EACH_NODE(DEFINE_VISIT_FUNCTION)
#define DEFINE_NAME_FUNCTION(BaseName) \
-const char* BaseName##Node::PrettyName() const { \
+const char* BaseName##Node::Name() const { \
return #BaseName; \
}
« no previous file with comments | « runtime/vm/ast.h ('k') | runtime/vm/ast_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698