Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 10299) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -3404,13 +3404,6 @@ |
Register key = instr->key()->IsRegister() ? ToRegister(instr->key()) : no_reg; |
Register scratch = scratch0(); |
- // This instruction cannot handle the FAST_SMI_ONLY_ELEMENTS -> FAST_ELEMENTS |
- // conversion, so it deopts in that case. |
- if (instr->hydrogen()->ValueNeedsSmiCheck()) { |
- __ tst(value, Operand(kSmiTagMask)); |
- DeoptimizeIf(ne, instr->environment()); |
- } |
- |
// Do the store. |
if (instr->key()->IsConstantOperand()) { |
ASSERT(!instr->hydrogen()->NeedsWriteBarrier()); |