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

Unified Diff: pkg/compiler/lib/src/frontend_strategy.dart

Issue 2846433003: Run closed_world2_test using the normal compiler pipeline. (Closed)
Patch Set: Created 3 years, 8 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
Index: pkg/compiler/lib/src/frontend_strategy.dart
diff --git a/pkg/compiler/lib/src/frontend_strategy.dart b/pkg/compiler/lib/src/frontend_strategy.dart
index b52cc098f43aa68b9a172ed0ba025ad38f56c7b7..026be2c8027ef11d3f3c9c71ff678d0dea280013 100644
--- a/pkg/compiler/lib/src/frontend_strategy.dart
+++ b/pkg/compiler/lib/src/frontend_strategy.dart
@@ -24,6 +24,7 @@ import 'serialization/task.dart';
import 'patch_parser.dart';
import 'resolved_uri_translator.dart';
import 'universe/world_builder.dart';
+import 'universe/world_impact.dart';
/// Strategy pattern that defines the connection between the input format and
/// the resolved element model.
@@ -48,7 +49,7 @@ abstract class FrontEndStrategy {
AnnotationProcessor get annotationProcesser;
/// Creates the [NativeClassFinder] for this strategy.
- NativeClassFinder createNativeClassResolver(NativeBasicData nativeBasicData);
+ NativeClassFinder createNativeClassFinder(NativeBasicData nativeBasicData);
/// Creates the [NoSuchMethodResolver] corresponding the resolved model of
/// this strategy.
@@ -65,6 +66,11 @@ abstract class FrontEndStrategy {
WorkItemBuilder createResolutionWorkItemBuilder(
ImpactTransformer impactTransformer);
+ /// Computes the main function from [mainLibrary] adding additional world
+ /// impact to [impactBuilder].
+ FunctionEntity computeMain(
+ LibraryEntity mainLibrary, WorldImpactBuilder impactBuilder);
+
// TODO(johnniwinther): Reuse the following classes between strategies:
/// Creates the [CustomElementsResolutionAnalysis] for this strategy.

Powered by Google App Engine
This is Rietveld 408576698