Index: src/asmjs/asm-typer.cc |
diff --git a/src/asmjs/asm-typer.cc b/src/asmjs/asm-typer.cc |
index 0b98775190488ed4414c61d2698b074cbc68eb97..80f296052f16279531c4b42b67820cd3e12241db 100644 |
--- a/src/asmjs/asm-typer.cc |
+++ b/src/asmjs/asm-typer.cc |
@@ -2462,9 +2462,7 @@ AsmType* AsmTyper::ValidateHeapAccess(Property* heap, |
} |
return obj_type->StoreType(); |
} |
- // TODO(jpp): it may be the case that, if type is not an Intish, we could |
- // fail here instead of letting the validator try using the "leniency" |
- // rule (i.e., allow unshifted indexes for heap views of 8-bit integers. |
+ FAIL(key_as_binop, "Invalid heap access index."); |
} |
} |