| Index: runtime/vm/intermediate_language_mips.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_mips.cc (revision 35738)
|
| +++ runtime/vm/intermediate_language_mips.cc (working copy)
|
| @@ -4202,13 +4202,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));
|
|
|