Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index fd039d0f8a4ca5d83c1022a4c99a2b9f5a18a253..eaafdfc327bfd021c37a0b56eab4c6455b70c752 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -128,13 +128,12 @@ void CodeGenerator::MakeCodePrologue(CompilationInfo* info, const char* kind) { |
#ifdef DEBUG |
if (info->parse_info() && print_source) { |
PrintF("--- Source from AST ---\n%s\n", |
- PrettyPrinter(info->isolate(), info->zone()) |
- .PrintProgram(info->literal())); |
+ PrettyPrinter(info->isolate()).PrintProgram(info->literal())); |
} |
if (info->parse_info() && print_ast) { |
- PrintF("--- AST ---\n%s\n", AstPrinter(info->isolate(), info->zone()) |
- .PrintProgram(info->literal())); |
+ PrintF("--- AST ---\n%s\n", |
+ AstPrinter(info->isolate()).PrintProgram(info->literal())); |
} |
#endif // DEBUG |
} |