| Index: src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| index a51fae44a43db68e4436337ba5bdbefb73876d6f..39121f8170c9166384ff7baef9ecbef6b37e48a8 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| @@ -2600,23 +2600,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(a0));
|
| -
|
| - AllowDeferredHandleDereference vector_structure_check;
|
| - Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector();
|
| - __ li(vector_register, vector);
|
| - // No need to allocate this register.
|
| - FeedbackVectorSlot slot = instr->hydrogen()->slot();
|
| - int index = vector->GetIndex(slot);
|
| - __ li(slot_register, Operand(Smi::FromInt(index)));
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
| @@ -3058,18 +3041,6 @@ MemOperand LCodeGen::PrepareKeyedOperand(Register key,
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
|
| - DCHECK(ToRegister(instr->context()).is(cp));
|
| - 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 scratch = scratch0();
|
| Register temp = scratch1();
|
|
|