Index: src/mips/codegen-mips.h |
diff --git a/src/mips/codegen-mips.h b/src/mips/codegen-mips.h |
index 240b02ce44ba4e77d84d1b3c5bc800f347bea83f..950df21d307ef8be3994186706d69dfbd6df3e5a 100644 |
--- a/src/mips/codegen-mips.h |
+++ b/src/mips/codegen-mips.h |
@@ -46,8 +46,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); |