| Index: src/arm/codegen-arm.h
|
| ===================================================================
|
| --- src/arm/codegen-arm.h (revision 3935)
|
| +++ src/arm/codegen-arm.h (working copy)
|
| @@ -150,15 +150,6 @@
|
|
|
| class CodeGenerator: public AstVisitor {
|
| public:
|
| - // Compilation mode. Either the compiler is used as the primary
|
| - // compiler and needs to setup everything or the compiler is used as
|
| - // the secondary compiler for split compilation and has to handle
|
| - // bailouts.
|
| - enum Mode {
|
| - PRIMARY,
|
| - SECONDARY
|
| - };
|
| -
|
| // Takes a function literal, generates code for it. This function should only
|
| // be called by compiler.cc.
|
| static Handle<Code> MakeCode(CompilationInfo* info);
|
| @@ -244,7 +235,7 @@
|
| inline void VisitStatementsAndSpill(ZoneList<Statement*>* statements);
|
|
|
| // Main code generation function
|
| - void Generate(CompilationInfo* info, Mode mode);
|
| + void Generate(CompilationInfo* info);
|
|
|
| // The following are used by class Reference.
|
| void LoadReference(Reference* ref);
|
| @@ -359,6 +350,7 @@
|
| void GenerateIsSmi(ZoneList<Expression*>* args);
|
| void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
|
| void GenerateIsArray(ZoneList<Expression*>* args);
|
| + void GenerateIsRegExp(ZoneList<Expression*>* args);
|
| void GenerateIsObject(ZoneList<Expression*>* args);
|
| void GenerateIsFunction(ZoneList<Expression*>* args);
|
| void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
|
| @@ -398,6 +390,13 @@
|
| // Support for direct calls from JavaScript to native RegExp code.
|
| void GenerateRegExpExec(ZoneList<Expression*>* args);
|
|
|
| + // Fast support for number to string.
|
| + void GenerateNumberToString(ZoneList<Expression*>* args);
|
| +
|
| + // Fast call to sine function.
|
| + void GenerateMathSin(ZoneList<Expression*>* args);
|
| + void GenerateMathCos(ZoneList<Expression*>* args);
|
| +
|
| // Simple condition analysis.
|
| enum ConditionAnalysis {
|
| ALWAYS_TRUE,
|
|
|