Index: src/arm/codegen-arm.h |
diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h |
index de098d0234aeebd7ea5b843f1c7fc3cd2fa309c4..1a2e5525a2ae49cd5203946303a4cd73cfeabd83 100644 |
--- a/src/arm/codegen-arm.h |
+++ b/src/arm/codegen-arm.h |
@@ -150,15 +150,6 @@ class CodeGenState BASE_EMBEDDED { |
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 @@ class CodeGenerator: public AstVisitor { |
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); |