Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index ff1f743713b1d113370edbc8971334098ae4de3d..c7bdafb092e0e6cde36901e857988e9c29efe756 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -3008,23 +3008,6 @@ void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* 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(x0)); |
- |
- 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, Smi::FromInt(index)); |
-} |
- |
- |
MemOperand LCodeGen::PrepareKeyedExternalArrayOperand( |
Register key, |
Register base, |
@@ -3273,20 +3256,6 @@ void LCodeGen::DoLoadKeyedFixed(LLoadKeyedFixed* instr) { |
} |
-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); |
- |
- DCHECK(ToRegister(instr->result()).Is(x0)); |
-} |
- |
- |
void LCodeGen::DoLoadNamedField(LLoadNamedField* instr) { |
HObjectAccess access = instr->hydrogen()->access(); |
int offset = access.offset(); |