| 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 703e9cd73a054654dc2cd77d64d37e743574564a..ab0cf3995002e5da4bbc104ab19cc0b88405d6fb 100644
|
| --- a/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| @@ -2375,23 +2375,6 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| }
|
|
|
|
|
| -template <class T>
|
| -void LCodeGen::EmitVectorLoadICRegisters(T* instr) {
|
| - Register vector_register = ToRegister(instr->temp_vector());
|
| - Register slot_register = LoadWithVectorDescriptor::SlotRegister();
|
| - DCHECK(vector_register.is(LoadWithVectorDescriptor::VectorRegister()));
|
| - DCHECK(slot_register.is(eax));
|
| -
|
| - AllowDeferredHandleDereference vector_structure_check;
|
| - Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector();
|
| - __ mov(vector_register, vector);
|
| - // No need to allocate this register.
|
| - FeedbackVectorSlot slot = instr->hydrogen()->slot();
|
| - int index = vector->GetIndex(slot);
|
| - __ mov(slot_register, Immediate(Smi::FromInt(index)));
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
| @@ -2716,18 +2699,6 @@ Operand LCodeGen::BuildFastArrayOperand(
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
|
| - DCHECK(ToRegister(instr->context()).is(esi));
|
| - 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 result = ToRegister(instr->result());
|
|
|
|
|