Chromium Code Reviews| Index: src/prettyprinter.h |
| diff --git a/src/prettyprinter.h b/src/prettyprinter.h |
| index c07421a05ad94a1932460c3e8140b2fb26a67749..76f6667ec7dd209e49496f9e2cb6e45cced34b75 100644 |
| --- a/src/prettyprinter.h |
| +++ b/src/prettyprinter.h |
| @@ -13,7 +13,7 @@ namespace internal { |
| class CallPrinter : public AstVisitor { |
| public: |
| - explicit CallPrinter(Zone* zone); |
| + explicit CallPrinter(Isolate* isolate, Zone* zone); |
|
Michael Starzinger
2015/01/23 14:21:11
nit: No longer needs to be marked "explicit".
danno
2015/01/23 14:45:20
Done.
|
| virtual ~CallPrinter(); |
| // The following routine prints the node with position |position| into a |
| @@ -52,7 +52,7 @@ class CallPrinter : public AstVisitor { |
| class PrettyPrinter: public AstVisitor { |
| public: |
| - explicit PrettyPrinter(Zone* zone); |
| + explicit PrettyPrinter(Isolate* isolate, Zone* zone); |
|
Michael Starzinger
2015/01/23 14:21:11
nit: No longer needs to be marked "explicit".
danno
2015/01/23 14:45:20
Done.
|
| virtual ~PrettyPrinter(); |
| // The following routines print a node into a string. |
| @@ -64,7 +64,7 @@ class PrettyPrinter: public AstVisitor { |
| void Print(const char* format, ...); |
| // Print a node to stdout. |
| - static void PrintOut(Zone* zone, AstNode* node); |
| + static void PrintOut(Isolate* isolate, Zone* zone, AstNode* node); |
| // Individual nodes |
| #define DECLARE_VISIT(type) void Visit##type(type* node) OVERRIDE; |
| @@ -98,7 +98,7 @@ class PrettyPrinter: public AstVisitor { |
| // Prints the AST structure |
| class AstPrinter: public PrettyPrinter { |
| public: |
| - explicit AstPrinter(Zone* zone); |
| + explicit AstPrinter(Isolate* isolate, Zone* zone); |
|
Michael Starzinger
2015/01/23 14:21:11
nit: No longer needs to be marked "explicit".
danno
2015/01/23 14:45:20
Done.
|
| virtual ~AstPrinter(); |
| const char* PrintProgram(FunctionLiteral* program); |