Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 25cb04750a2d120de9df7e9936ba09cb5cbf7ef2..df6c29e17431a46e56f69a0d6a8218d77ba669c4 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -2392,20 +2392,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, Immediate(Smi::FromInt(index))); |
-} |
- |
- |
void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(esi)); |
DCHECK(ToRegister(instr->result()).is(eax)); |
@@ -3857,21 +3843,6 @@ void LCodeGen::DoStoreKeyed(LStoreKeyed* instr) { |
} |
-void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(esi)); |
- 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::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { |
Register object = ToRegister(instr->object()); |
Register temp = ToRegister(instr->temp()); |