| Index: src/x64/codegen-x64.h
|
| diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h
|
| index 9b8454a3535ac77a681439e8c2a8b986cb61d8d2..93d9aac536e5cb36254a177860fd3dac4f3703f5 100644
|
| --- a/src/x64/codegen-x64.h
|
| +++ b/src/x64/codegen-x64.h
|
| @@ -44,8 +44,8 @@ enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF };
|
|
|
| class CodeGenerator: public AstVisitor {
|
| public:
|
| - CodeGenerator() {
|
| - InitializeAstVisitor();
|
| + explicit CodeGenerator(Isolate* isolate) {
|
| + InitializeAstVisitor(isolate);
|
| }
|
|
|
| static bool MakeCode(CompilationInfo* info);
|
|
|