Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index b908776849ecd925eb54c841ff2c96afbbff90f0..f661dbf3e7f3ae355b864f7bc9b8cea02a153270 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -906,26 +906,6 @@ void LCodeGen::DoParameter(LParameter* instr) { |
} |
-void LCodeGen::DoCallStub(LCallStub* instr) { |
- DCHECK(ToRegister(instr->context()).is(rsi)); |
- DCHECK(ToRegister(instr->result()).is(rax)); |
- 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(); |
} |