| Index: src/mips/codegen-mips.h
|
| diff --git a/src/mips/codegen-mips.h b/src/mips/codegen-mips.h
|
| index 13b0b436cf9d8adcb31f5ce388e65c1059473406..d429443a8801a1285e6ab7087f16ad1dcce9ec2c 100644
|
| --- a/src/mips/codegen-mips.h
|
| +++ b/src/mips/codegen-mips.h
|
| @@ -46,6 +46,10 @@ enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF };
|
|
|
| class CodeGenerator: public AstVisitor {
|
| public:
|
| + CodeGenerator() {
|
| + InitializeAstVisitor();
|
| + }
|
| +
|
| static bool MakeCode(CompilationInfo* info);
|
|
|
| // Printing of AST, etc. as requested by flags.
|
| @@ -70,7 +74,7 @@ class CodeGenerator: public AstVisitor {
|
| int pos,
|
| bool right_here = false);
|
|
|
| - DEFINE_AST_VISITOR_SUBCLASS_METHODS();
|
| + DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
|
|
|