Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 048840f10b2945bc63ea26e6facaf9d879484aea..31706683254c81d38cdb3778310d2cf7fdfee109 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2133,23 +2133,6 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { |
} |
-LInstruction* LChunkBuilder::DoLoadNamedFieldPolymorphic( |
- HLoadNamedFieldPolymorphic* instr) { |
- ASSERT(instr->representation().IsTagged()); |
- if (instr->need_generic()) { |
- LOperand* obj = UseFixed(instr->object(), r0); |
- LLoadNamedFieldPolymorphic* result = |
- new(zone()) LLoadNamedFieldPolymorphic(obj); |
- return MarkAsCall(DefineFixed(result, r0), instr); |
- } else { |
- LOperand* obj = UseRegisterAtStart(instr->object()); |
- LLoadNamedFieldPolymorphic* result = |
- new(zone()) LLoadNamedFieldPolymorphic(obj); |
- return AssignEnvironment(DefineAsRegister(result)); |
- } |
-} |
- |
- |
LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { |
LOperand* object = UseFixed(instr->object(), r0); |
LInstruction* result = DefineFixed(new(zone()) LLoadNamedGeneric(object), r0); |