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 31e07a2ef22119ecbdfaa7f6006f98ea4cadf459..c2679e6fe5276fbe8edcc1625d8a13cb0e8f621c 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -3328,19 +3328,6 @@ void LCodeGen::DoLoadNamedField(LLoadNamedField* instr) { |
} |
-void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- // LoadIC expects name and receiver in registers. |
- DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
- __ Mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
- EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
- Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate()).code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr); |
- |
- DCHECK(ToRegister(instr->result()).is(x0)); |
-} |
- |
- |
void LCodeGen::DoLoadRoot(LLoadRoot* instr) { |
Register result = ToRegister(instr->result()); |
__ LoadRoot(result, instr->index()); |