Index: tests/compiler/dart2js/kernel/closed_world_test.dart |
diff --git a/tests/compiler/dart2js/kernel/closed_world_test.dart b/tests/compiler/dart2js/kernel/closed_world_test.dart |
index 86798d95a8624b2192b9ea97910744800e5146f3..9ac9e7f4e51a518b50de98eaa8038600b6b6b322 100644 |
--- a/tests/compiler/dart2js/kernel/closed_world_test.dart |
+++ b/tests/compiler/dart2js/kernel/closed_world_test.dart |
@@ -172,7 +172,6 @@ EnqueuerListener createKernelResolutionEnqueuerListener( |
NativeBasicData nativeBasicData; |
RuntimeTypesNeedBuilder rtiNeedBuilder; |
MirrorsDataBuilder mirrorsDataBuilder; |
- NoSuchMethodRegistry noSuchMethodRegistry; |
CustomElementsResolutionAnalysis customElementsResolutionAnalysis; |
LookupMapResolutionAnalysis lookupMapResolutionAnalysis; |
MirrorsResolutionAnalysis mirrorsResolutionAnalysis; |
@@ -183,6 +182,8 @@ EnqueuerListener createKernelResolutionEnqueuerListener( |
nativeBasicData, helpers, elementEnvironment, commonElements); |
BackendUsageBuilder backendUsageBuilder = |
new BackendUsageBuilderImpl(commonElements, helpers); |
+ NoSuchMethodRegistry noSuchMethodRegistry = new NoSuchMethodRegistry( |
+ helpers, new KernelNoSuchMethodResolver(worldBuilder)); |
return new ResolutionEnqueuerListener( |
options, |