Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index b55cd4de09d5c0ca4ce7857a77f9b0c87921c097..5fb5bf59bbeaed9efca34a5ee38958de9f3585b0 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -2678,19 +2678,6 @@ void LCodeGen::DoLoadNamedField(LLoadNamedField* instr) { |
} |
-void LCodeGen::DoLoadNamedGeneric(LLoadNamedGeneric* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
- DCHECK(ToRegister(instr->result()).is(r0)); |
- |
- // Name is always in r2. |
- __ mov(LoadDescriptor::NameRegister(), Operand(instr->name())); |
- EmitVectorLoadICRegisters<LLoadNamedGeneric>(instr); |
- Handle<Code> ic = CodeFactory::LoadICInOptimizedCode(isolate()).code(); |
- CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); |
-} |
- |
- |
void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* instr) { |
Register scratch = scratch0(); |
Register function = ToRegister(instr->function()); |