| Index: pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| index 7cc944c6dd049fe22fb99df111591762d73d0a31..29cba722338ad20a4b79a80539c5f7c6cec74a57 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| @@ -877,7 +877,7 @@ class TransformingVisitor extends LeafVisitor {
|
| <Primitive>[index, cps.letPrim(new GetLength(list))]);
|
| cps.ifTruthy(isTooLarge).invokeContinuation(fail);
|
| cps.insideContinuation(fail).invokeStaticThrower(
|
| - backend.getThrowIndexOutOfBoundsError(),
|
| + backend.helpers.throwIndexOutOfBoundsError,
|
| <Primitive>[list, index]);
|
| return cps;
|
| }
|
| @@ -895,7 +895,7 @@ class TransformingVisitor extends LeafVisitor {
|
| BuiltinOperator.StrictNeq,
|
| <Primitive>[originalLength, cps.letPrim(new GetLength(list))]);
|
| cps.ifTruthy(lengthChanged).invokeStaticThrower(
|
| - backend.getThrowConcurrentModificationError(),
|
| + backend.helpers.throwConcurrentModificationError,
|
| <Primitive>[list]);
|
| return cps;
|
| }
|
| @@ -1007,7 +1007,7 @@ class TransformingVisitor extends LeafVisitor {
|
| [length, cps.makeZero()]);
|
| CpsFragment fail = cps.ifTruthy(isEmpty);
|
| fail.invokeStaticThrower(
|
| - backend.getThrowIndexOutOfBoundsError(),
|
| + backend.helpers.throwIndexOutOfBoundsError,
|
| [list, fail.makeConstant(new IntConstantValue(-1))]);
|
| Primitive removedItem = cps.invokeBuiltin(BuiltinMethod.Pop,
|
| list,
|
|
|