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

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

Issue 2776383002: Use InterceptorDataBuilderImpl and BackendUsageBuilderImpl for kernel/closed_world_test (Closed)
Patch Set: 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 | « pkg/compiler/lib/src/js_backend/interceptor_data.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 9f66ad1919d3efc92ec8b1dd7f80551cdd2fc871..86798d95a8624b2192b9ea97910744800e5146f3 100644
--- a/tests/compiler/dart2js/kernel/closed_world_test.dart
+++ b/tests/compiler/dart2js/kernel/closed_world_test.dart
@@ -170,8 +170,6 @@ EnqueuerListener createKernelResolutionEnqueuerListener(
// TODO(johnniwinther): Create Kernel based implementations for these:
NativeBasicData nativeBasicData;
- InterceptorDataBuilder interceptorDataBuilder;
- BackendUsageBuilder backendUsageBuilder;
RuntimeTypesNeedBuilder rtiNeedBuilder;
MirrorsDataBuilder mirrorsDataBuilder;
NoSuchMethodRegistry noSuchMethodRegistry;
@@ -180,6 +178,12 @@ EnqueuerListener createKernelResolutionEnqueuerListener(
MirrorsResolutionAnalysis mirrorsResolutionAnalysis;
NativeResolutionEnqueuer nativeResolutionEnqueuer;
+ InterceptorDataBuilder interceptorDataBuilder =
+ new InterceptorDataBuilderImpl(
+ nativeBasicData, helpers, elementEnvironment, commonElements);
+ BackendUsageBuilder backendUsageBuilder =
+ new BackendUsageBuilderImpl(commonElements, helpers);
+
return new ResolutionEnqueuerListener(
options,
elementEnvironment,
« no previous file with comments | « pkg/compiler/lib/src/js_backend/interceptor_data.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698