| Index: tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
|
| index 60f97176f626e2ec6f530604fef4030919f929b9..374b75197ef44920457e3fb6ca80560a4322852f 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
|
| @@ -34,9 +34,11 @@ main() {
|
| r"""
|
| function() {
|
| var l = ["hest", ["h", "e", "s", "t"]], i = 0, x, j;
|
| - P.print(J.getInterceptor$as(l).get$length(l));
|
| - while (i < J.getInterceptor$as(l).get$length(l)) {
|
| - x = J.getInterceptor$as(l).$index(l, i);
|
| + P.print(l.length);
|
| + while (i < l.length) {
|
| + if (i < 0 || i >= l.length)
|
| + H.ioore(l, i);
|
| + x = l[i];
|
| j = 0;
|
| while (j < J.getInterceptor$as(x).get$length(x)) {
|
| P.print(J.getInterceptor$as(x).$index(x, j));
|
|
|