Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index b852153e64a8feb346708a994dd119b51cec5432..3b4ed2a82c4f9120ed224619f627836d6945962e 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -2630,22 +2630,6 @@ void LCodeGen::DoReturn(LReturn* instr) { |
__ Ret(); |
} |
-template <class T> |
-void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
- Register vector_register = ToRegister(instr->temp_vector()); |
- Register slot_register = LoadDescriptor::SlotRegister(); |
- DCHECK(vector_register.is(LoadWithVectorDescriptor::VectorRegister())); |
- DCHECK(slot_register.is(r2)); |
- |
- AllowDeferredHandleDereference vector_structure_check; |
- Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector(); |
- __ Move(vector_register, vector); |
- // No need to allocate this register. |
- FeedbackVectorSlot slot = instr->hydrogen()->slot(); |
- int index = vector->GetIndex(slot); |
- __ LoadSmiLiteral(slot_register, Smi::FromInt(index)); |
-} |
- |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |
@@ -3081,16 +3065,6 @@ MemOperand LCodeGen::PrepareKeyedOperand(Register key, Register base, |
return MemOperand(scratch, base, base_offset); |
} |
-void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
- DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister())); |
- EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
- |
- Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode(isolate()).code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
-} |
- |
void LCodeGen::DoArgumentsElements(LArgumentsElements* instr) { |
Register scratch = scratch0(); |
Register result = ToRegister(instr->result()); |