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

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

Issue 2575083002: Pass ClosedWorld directly to codegen tasks (Closed)
Patch Set: Created 4 years 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/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 7d7c7b6a620ec2e01183d27a28d69774507ffdbf..3eee56fa326f44772774f777eca78d63c2d32abb 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -130,8 +130,6 @@ abstract class Compiler implements LibraryLoaderListener {
ResolvedUriTranslator get resolvedUriTranslator;
- Tracer tracer;
-
LibraryElement mainApp;
FunctionElement mainFunction;
@@ -217,7 +215,6 @@ abstract class Compiler implements LibraryLoaderListener {
// make its field final.
_coreTypes = new _CompilerCoreTypes(_resolution, reporter);
types = new Types(_resolution);
- tracer = new Tracer(this, this.outputProvider);
if (options.verbose) {
progress = new Stopwatch()..start();
@@ -344,7 +341,6 @@ abstract class Compiler implements LibraryLoaderListener {
return new Future.sync(() => runInternal(uri))
.catchError((error) => _reporter.onError(uri, error))
.whenComplete(() {
- tracer.close();
measurer.stopWallClock();
}).then((_) {
return !compilationFailed;
@@ -737,7 +733,7 @@ abstract class Compiler implements LibraryLoaderListener {
dumpInfoTask.dumpInfo(closedWorld);
}
- backend.sourceInformationStrategy.onComplete();
+ backend.onCodegenEnd();
checkQueues();
});

Powered by Google App Engine
This is Rietveld 408576698