Index: src/arm/codegen-arm.h |
diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h |
index c020ab601c8e968ca492f02f30e9956ac63a2134..d9cc3872556d179b41e6ffb4ae97f4ee54e0adfe 100644 |
--- a/src/arm/codegen-arm.h |
+++ b/src/arm/codegen-arm.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); |