| Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| index 5c663a67dbf04b91001fdbcf7ec7541e159916fe..81641181999efaadb306102e2660daa81908fb31 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| @@ -2363,13 +2363,15 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| checkType(input, type);
|
| attachLocationToLast(node);
|
| }
|
| - if (node.hasArgumentsCheck()) {
|
| + if (node.hasArgumentChecks()) {
|
| InterfaceType interfaceType = type;
|
| ClassElement cls = type.element;
|
| Link<DartType> arguments = interfaceType.typeArguments;
|
| js.Expression result = pop();
|
| - use(node.checkCall);
|
| - result = new js.Binary('&&', result, pop());
|
| + for (int i = 0; i < node.checkCount; i++) {
|
| + use(node.getCheck(i));
|
| + result = new js.Binary('&&', result, pop());
|
| + }
|
| push(result, node);
|
| }
|
| if (node.nullOk) {
|
|
|