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

Unified Diff: src/parsing/parser.h

Issue 2127833002: [parser] Add convenient Print function for debugging. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | src/parsing/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index 3f2c488f09879257d89c09caece5a0d554413f06..268017bf30b4ed8cc76b1c6ef50081470a0b438a 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -1117,6 +1117,10 @@ class Parser : public ParserBase<ParserTraits> {
HistogramTimer* pre_parse_timer_;
bool parsing_on_main_thread_;
+
+#ifdef DEBUG
+ void Print(AstNode* node);
+#endif // DEBUG
};
« no previous file with comments | « no previous file | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698