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

Unified Diff: src/ast/prettyprinter.h

Issue 1491923003: Improve rendering of callsite with non-function target. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix tests Created 5 years 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/ast/prettyprinter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/prettyprinter.h
diff --git a/src/ast/prettyprinter.h b/src/ast/prettyprinter.h
index 808f702c4d5776af9c3da4f6bb0c92eeddc82eb1..7e4dcdc804c3ddaca4724f563d73b07cf99baa0d 100644
--- a/src/ast/prettyprinter.h
+++ b/src/ast/prettyprinter.h
@@ -13,7 +13,7 @@ namespace internal {
class CallPrinter : public AstVisitor {
public:
- explicit CallPrinter(Isolate* isolate);
+ explicit CallPrinter(Isolate* isolate, bool is_builtin);
virtual ~CallPrinter();
// The following routine prints the node with position |position| into a
@@ -37,11 +37,12 @@ class CallPrinter : public AstVisitor {
int position_; // position of ast node to print
bool found_;
bool done_;
+ bool is_builtin_;
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
protected:
- void PrintLiteral(Handle<Object> value, bool quote);
+ void PrintLiteral(Object* value, bool quote);
void PrintLiteral(const AstRawString* value, bool quote);
void FindStatements(ZoneList<Statement*>* statements);
void FindArguments(ZoneList<Expression*>* arguments);
« no previous file with comments | « no previous file | src/ast/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698