| Index: src/x64/codegen-x64.h
|
| diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h
|
| index 9b8454a3535ac77a681439e8c2a8b986cb61d8d2..7d1f59ad5ff56baf7b7567f5a500a273149dde19 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);
|
| @@ -61,7 +61,7 @@ class CodeGenerator: public AstVisitor {
|
| // Print the code after compiling it.
|
| static void PrintCode(Handle<Code> code, CompilationInfo* info);
|
|
|
| - static bool ShouldGenerateLog(Expression* type);
|
| + static bool ShouldGenerateLog(Isolate* isolate, Expression* type);
|
|
|
| static bool RecordPositions(MacroAssembler* masm,
|
| int pos,
|
|
|