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 4e34205f3a76b74da2bfb82a993619b8bf24d994..7f34821286fcd0830f0cdedc1e0828e360dba5db 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -2646,19 +2646,6 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
__ LoadSmiLiteral(slot_register, Smi::FromInt(index)); |
} |
-template <class T> |
-void LCodeGen::EmitVectorStoreICRegisters(T* instr) { |
- Register vector_register = ToRegister(instr->temp_vector()); |
- Register slot_register = ToRegister(instr->temp_slot()); |
- |
- AllowDeferredHandleDereference vector_structure_check; |
- Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector(); |
- __ Move(vector_register, vector); |
- FeedbackVectorSlot slot = instr->hydrogen()->slot(); |
- int index = vector->GetIndex(slot); |
- __ LoadSmiLiteral(slot_register, Smi::FromInt(index)); |
-} |
- |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->result()).is(r2)); |
@@ -4266,20 +4253,6 @@ void LCodeGen::DoStoreKeyed(LStoreKeyed* instr) { |
} |
} |
-void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(StoreDescriptor::ReceiverRegister())); |
- DCHECK(ToRegister(instr->key()).is(StoreDescriptor::NameRegister())); |
- DCHECK(ToRegister(instr->value()).is(StoreDescriptor::ValueRegister())); |
- |
- EmitVectorStoreICRegisters<LStoreKeyedGeneric>(instr); |
- |
- Handle<Code> ic = CodeFactory::KeyedStoreICInOptimizedCode( |
- isolate(), instr->language_mode()) |
- .code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
-} |
- |
void LCodeGen::DoMaybeGrowElements(LMaybeGrowElements* instr) { |
class DeferredMaybeGrowElements final : public LDeferredCode { |
public: |