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