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 bb4627673f80aa626f9f8feab016bd1b3f8176ab..e6bdcef34183612f147f9bf1d7f533c91dc58284 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -2534,20 +2534,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(); |
- __ Move(vector_register, vector); |
- FeedbackVectorSlot slot = instr->hydrogen()->slot(); |
- int index = vector->GetIndex(slot); |
- __ Move(slot_register, Smi::FromInt(index)); |
-} |
- |
- |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(rsi)); |
DCHECK(ToRegister(instr->result()).is(rax)); |
@@ -4138,21 +4124,6 @@ void LCodeGen::DoStoreKeyed(LStoreKeyed* instr) { |
} |
-void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(rsi)); |
- 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: |