| Index: pkg/compiler/lib/src/native/ssa.dart
|
| diff --git a/pkg/compiler/lib/src/native/ssa.dart b/pkg/compiler/lib/src/native/ssa.dart
|
| index 945995d2f63a324221619416199794c15689a7bd..a7f185fc3f107d8c752e9d6ae9a86a2166310e69 100644
|
| --- a/pkg/compiler/lib/src/native/ssa.dart
|
| +++ b/pkg/compiler/lib/src/native/ssa.dart
|
| @@ -29,7 +29,8 @@ void handleSsaNative(SsaBuilder builder, Expression nativeBody) {
|
| HInstruction local = builder.localsHandler.readLocal(parameter);
|
| ConstantValue arityConstant =
|
| builder.constantSystem.createInt(type.computeArity());
|
| - HInstruction arity = builder.graph.addConstant(arityConstant, compiler);
|
| + HInstruction arity =
|
| + builder.graph.addConstant(arityConstant, builder.closedWorld);
|
| // TODO(ngeoffray): For static methods, we could pass a method with a
|
| // defined arity.
|
| Element helper = backend.helpers.closureConverter;
|
|
|