Index: runtime/vm/intermediate_language_arm.cc |
=================================================================== |
--- runtime/vm/intermediate_language_arm.cc (revision 35738) |
+++ runtime/vm/intermediate_language_arm.cc (working copy) |
@@ -5487,13 +5487,6 @@ |
Location index_loc = locs()->in(kIndexPos); |
if (length_loc.IsConstant() && index_loc.IsConstant()) { |
- // TODO(srdjan): remove this code once failures are fixed. |
- if ((Smi::Cast(length_loc.constant()).Value() > |
- Smi::Cast(index_loc.constant()).Value()) && |
- (Smi::Cast(index_loc.constant()).Value() >= 0)) { |
- // This CheckArrayBoundInstr should have been eliminated. |
- return; |
- } |
ASSERT((Smi::Cast(length_loc.constant()).Value() <= |
Smi::Cast(index_loc.constant()).Value()) || |
(Smi::Cast(index_loc.constant()).Value() < 0)); |