Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index d57f2078c0097c1e93329a19b80b0b161c90e85b..11422cf44bb622a22c77d2612f7bea19b916db7e 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -972,26 +972,6 @@ void LCodeGen::DoParameter(LParameter* instr) { |
} |
-void LCodeGen::DoCallStub(LCallStub* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->result()).is(r0)); |
- switch (instr->hydrogen()->major_key()) { |
- case CodeStub::RegExpExec: { |
- RegExpExecStub stub(isolate()); |
- CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
- break; |
- } |
- case CodeStub::SubString: { |
- SubStringStub stub(isolate()); |
- CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
- break; |
- } |
- default: |
- UNREACHABLE(); |
- } |
-} |
- |
- |
void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { |
GenerateOsrPrologue(); |
} |