Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 42002ad5b62575bba30e7582240f35abb01b808c..fead69829d07aaf96a6cd3cbfd3b94b9496d69e0 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -976,26 +976,6 @@ void LCodeGen::DoParameter(LParameter* instr) { |
} |
-void LCodeGen::DoCallStub(LCallStub* instr) { |
- DCHECK(ToRegister(instr->context()).is(esi)); |
- DCHECK(ToRegister(instr->result()).is(eax)); |
- 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(); |
} |