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

Unified Diff: pkg/compiler/tool/perf.dart

Issue 2846433003: Run closed_world2_test using the normal compiler pipeline. (Closed)
Patch Set: Updated cf. comments 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
« no previous file with comments | « pkg/compiler/lib/src/types/types.dart ('k') | tests/compiler/dart2js/assert_message_throw_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/tool/perf.dart
diff --git a/pkg/compiler/tool/perf.dart b/pkg/compiler/tool/perf.dart
index 80c2080b42d7711a619bbd38ca8a371bd668e89c..153cac37975740e490f9461d9ae0e2301d520e69 100644
--- a/pkg/compiler/tool/perf.dart
+++ b/pkg/compiler/tool/perf.dart
@@ -24,7 +24,8 @@ import 'package:compiler/src/parser/node_listener.dart' show NodeListener;
import 'package:compiler/src/parser/diet_parser_task.dart' show PartialParser;
import 'package:compiler/src/platform_configuration.dart' as platform;
import 'package:compiler/src/source_file_provider.dart';
-import 'package:compiler/src/universe/world_impact.dart' show WorldImpact;
+import 'package:compiler/src/universe/world_impact.dart'
+ show WorldImpactBuilderImpl;
import 'package:front_end/src/fasta/parser.dart' show Listener, Parser;
import 'package:front_end/src/fasta/scanner.dart' show Token, scan;
import 'package:package_config/discovery.dart' show findPackages;
@@ -345,10 +346,11 @@ class MyCompiler extends CompilerImpl {
: super(provider, null, handler, options) {}
/// Performs the compilation when all libraries have been loaded.
- void compileLoadedLibraries() =>
+ void compileLoadedLibraries(LibraryEntity rootLibrary) =>
selfTask.measureSubtask('KernelCompiler.compileLoadedLibraries', () {
ResolutionEnqueuer resolutionEnqueuer = startResolution();
- WorldImpact mainImpact = computeMain();
+ WorldImpactBuilderImpl mainImpact = new WorldImpactBuilderImpl();
+ mainFunction = frontEndStrategy.computeMain(rootLibrary, mainImpact);
mirrorUsageAnalyzerTask.analyzeUsage(mainApp);
deferredLoadTask.beforeResolution(this);
« no previous file with comments | « pkg/compiler/lib/src/types/types.dart ('k') | tests/compiler/dart2js/assert_message_throw_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698