Index: src/prettyprinter.h |
diff --git a/src/prettyprinter.h b/src/prettyprinter.h |
index 6657ecd1458236793ab74fec3a09a11363f8b78c..b7ff2af5fa1af13941e0155b47063f4efb5ac51d 100644 |
--- a/src/prettyprinter.h |
+++ b/src/prettyprinter.h |
@@ -38,7 +38,7 @@ namespace internal { |
class PrettyPrinter: public AstVisitor { |
public: |
- PrettyPrinter(); |
+ explicit PrettyPrinter(Isolate* isolate); |
virtual ~PrettyPrinter(); |
// The following routines print a node into a string. |
@@ -50,7 +50,7 @@ class PrettyPrinter: public AstVisitor { |
void Print(const char* format, ...); |
// Print a node to stdout. |
- static void PrintOut(AstNode* node); |
+ static void PrintOut(Isolate* isolate, AstNode* node); |
// Individual nodes |
#define DECLARE_VISIT(type) virtual void Visit##type(type* node); |
@@ -82,7 +82,7 @@ class PrettyPrinter: public AstVisitor { |
// Prints the AST structure |
class AstPrinter: public PrettyPrinter { |
public: |
- AstPrinter(); |
+ explicit AstPrinter(Isolate* isolate); |
virtual ~AstPrinter(); |
const char* PrintProgram(FunctionLiteral* program); |