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