| 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 4e37108091f67aa23f2baa22e5246b5e9e3fb220..f5cab6bd5ca30212a9e68edc075769f52481481c 100644
|
| --- a/src/crankshaft/x64/lithium-codegen-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| @@ -2517,23 +2517,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(rax));
|
| -
|
| - AllowDeferredHandleDereference vector_structure_check;
|
| - Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector();
|
| - __ Move(vector_register, vector);
|
| - // No need to allocate this register.
|
| - FeedbackVectorSlot slot = instr->hydrogen()->slot();
|
| - int index = vector->GetIndex(slot);
|
| - __ Move(slot_register, Smi::FromInt(index));
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
| @@ -2911,18 +2894,6 @@ Operand LCodeGen::BuildFastArrayOperand(
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
|
| - DCHECK(ToRegister(instr->context()).is(rsi));
|
| - 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());
|
|
|
|
|