Index: src/arm/codegen-arm.h |
diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h |
index 8f0033e2cebe460b2f62b4ee484cc2fe09a2fa46..75899a948e7dcec3a56737a28a6c1f235463c0d0 100644 |
--- a/src/arm/codegen-arm.h |
+++ b/src/arm/codegen-arm.h |
@@ -44,6 +44,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. |
@@ -68,6 +72,8 @@ class CodeGenerator: public AstVisitor { |
int pos, |
bool right_here = false); |
+ DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
}; |
@@ -92,10 +98,10 @@ class StringCharLoadGenerator : public AllStatic { |
class MathExpGenerator : public AllStatic { |
public: |
static void EmitMathExp(MacroAssembler* masm, |
- DoubleRegister input, |
- DoubleRegister result, |
- DoubleRegister double_scratch1, |
- DoubleRegister double_scratch2, |
+ DwVfpRegister input, |
+ DwVfpRegister result, |
+ DwVfpRegister double_scratch1, |
+ DwVfpRegister double_scratch2, |
Register temp1, |
Register temp2, |
Register temp3); |