| Index: sdk/lib/_internal/compiler/implementation/native_handler.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/native_handler.dart (revision 23841)
|
| +++ sdk/lib/_internal/compiler/implementation/native_handler.dart (working copy)
|
| @@ -942,7 +942,7 @@
|
| HInstruction local = builder.localsHandler.readLocal(parameter);
|
| Constant arityConstant =
|
| builder.constantSystem.createInt(type.computeArity());
|
| - HInstruction arity = builder.graph.addConstant(arityConstant);
|
| + HInstruction arity = builder.graph.addConstant(arityConstant, compiler);
|
| // TODO(ngeoffray): For static methods, we could pass a method with a
|
| // defined arity.
|
| Element helper = builder.backend.getClosureConverter();
|
|
|