Index: src/x64/codegen-x64.h |
diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h |
index 811ac507d53138a2a8377b2448fe69f86f2b7a61..aa0961de5c9949ae43f4962120dac8f12f70ab17 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: |
- explicit CodeGenerator(Isolate* isolate) { |
- InitializeAstVisitor(isolate); |
+ explicit CodeGenerator(Zone* zone) { |
+ InitializeAstVisitor(zone); |
} |
static bool MakeCode(CompilationInfo* info); |