| Index: src/codegen.cc
|
| diff --git a/src/codegen.cc b/src/codegen.cc
|
| index e988810b5742be2d0229bdfe576f5b958417a4de..6ec375105b2e6ee2e5ceba5ab0fe631b433602bd 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().PrintProgram(info->function()));
|
| + PrettyPrinter(info->isolate()).PrintProgram(info->function()));
|
| }
|
|
|
| if (!info->IsStub() && print_ast) {
|
| PrintF("--- AST ---\n%s\n",
|
| - AstPrinter().PrintProgram(info->function()));
|
| + AstPrinter(info->isolate()).PrintProgram(info->function()));
|
| }
|
| #endif // DEBUG
|
| }
|
|
|