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 d8c2e544ced9059e01be2c8ed5f636418c23b26d..5c65c5a9e42a94fdc368dd892c045f0f5b785bcc 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -3016,20 +3016,6 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
} |
-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(); |
- __ Mov(vector_register, vector); |
- FeedbackVectorSlot slot = instr->hydrogen()->slot(); |
- int index = vector->GetIndex(slot); |
- __ Mov(slot_register, Smi::FromInt(index)); |
-} |
- |
- |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->result()).Is(x0)); |
@@ -4928,21 +4914,6 @@ void LCodeGen::DoStoreKeyedFixed(LStoreKeyedFixed* 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: |