| 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 bb5e9020ab0b68387ee48a7408bb873701685809..cafe8120c4985baad4210fdba65d87a6d086dedc 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
|
| @@ -38,8 +38,11 @@ function() {
|
| if (i < 0 || i >= l.length)
|
| H.ioore(l, i);
|
| x_ = J.getInterceptor$as(x = l[i]);
|
| - for (j = 0; j < x_.get$length(x); j = j + 1)
|
| - P.print(x_.$index(x, j));
|
| + for (j = 0; j < x_.get$length(x); j = j + 1) {
|
| + if (j < 0 || j >= x.length)
|
| + H.ioore(x, j);
|
| + P.print(x[j]);
|
| + }
|
| }
|
| }"""),
|
| ];
|
|
|