Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 53f59f5a970cdbae291ade9e6fca53e149a6d106..3bc054825773335acc23269966b66b060f5bff8f 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -1991,27 +1991,6 @@ void LCodeGen::DoCallRuntime(LCallRuntime* instr) { |
} |
-void LCodeGen::DoCallStub(LCallStub* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->result()).is(x0)); |
- 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(); |
- } |
- RecordPushedArgumentsDelta(instr->hydrogen()->argument_delta()); |
-} |
- |
- |
void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { |
GenerateOsrPrologue(); |
} |