Index: sdk/lib/_internal/compiler/implementation/native/ssa.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/native/ssa.dart b/sdk/lib/_internal/compiler/implementation/native/ssa.dart |
index 44218f3c43ece0e9a1b2476e2cfc679c7e1adffe..0bd8d1b953f50022f35771a5b3cce7c89cfacca9 100644 |
--- a/sdk/lib/_internal/compiler/implementation/native/ssa.dart |
+++ b/sdk/lib/_internal/compiler/implementation/native/ssa.dart |
@@ -15,7 +15,7 @@ void handleSsaNative(SsaBuilder builder, Expression nativeBody) { |
HInstruction convertDartClosure(ParameterElement parameter, |
FunctionType type) { |
HInstruction local = builder.localsHandler.readLocal(parameter); |
- Constant arityConstant = |
+ ConstantValue arityConstant = |
builder.constantSystem.createInt(type.computeArity()); |
HInstruction arity = builder.graph.addConstant(arityConstant, compiler); |
// TODO(ngeoffray): For static methods, we could pass a method with a |