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