Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: tests/compiler/dart2js/kernel/closed_world_test.dart

Issue 2777093010: Use entities in NoSuchMethodRegistry (Closed)
Patch Set: Move as cast. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/inference/inference_test_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « tests/compiler/dart2js/inference/inference_test_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698