Index: src/prettyprinter.h |
diff --git a/src/prettyprinter.h b/src/prettyprinter.h |
index b7ff2af5fa1af13941e0155b47063f4efb5ac51d..a792720fe8a3505275880c32cfff22fc89f749d5 100644 |
--- a/src/prettyprinter.h |
+++ b/src/prettyprinter.h |
@@ -38,7 +38,7 @@ namespace internal { |
class PrettyPrinter: public AstVisitor { |
public: |
- explicit PrettyPrinter(Isolate* isolate); |
+ explicit PrettyPrinter(Zone* zone); |
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(Isolate* isolate, AstNode* node); |
+ static void PrintOut(Zone* zone, 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: |
- explicit AstPrinter(Isolate* isolate); |
+ explicit AstPrinter(Zone* zone); |
virtual ~AstPrinter(); |
const char* PrintProgram(FunctionLiteral* program); |