Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 0564bc5260269e03d09ad4af037c6b572c79305c..07f683f3ba2eac5bb308f80100fd3ad126983e00 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -135,8 +135,8 @@ class CodegenRegistry extends Registry { |
backend.registerTypeVariableBoundsSubtypeCheck(subtype, supertype); |
} |
- void registerClosureWithFreeTypeVariables(FunctionElement element) { |
- backend.registerClosureWithFreeTypeVariables(element, world, this); |
+ void registerInstantiatedClosure(LocalFunctionElement element) { |
+ backend.registerInstantiatedClosure(element, this); |
} |
void registerGetOfStaticFunction(FunctionElement element) { |