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

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

Issue 2826673002: Remove JavaScriptBackend from ClosedWorldBase (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/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 65620fda8e12fd01ac36f67a8728c26b339a147f..034108683dc2186a30d05e28d96cec084691a518 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -626,6 +626,7 @@ abstract class Compiler {
processQueue(resolutionEnqueuer, mainMethod, libraryLoader.libraries,
onProgress: showResolutionProgress);
+ backend.onResolutionEnd();
resolutionEnqueuer.logSummary(reporter.log);
_reporter.reportSuppressedMessagesSummary();
@@ -704,7 +705,7 @@ abstract class Compiler {
ClosedWorldRefiner closeResolution() {
phase = PHASE_DONE_RESOLVING;
- ClosedWorldImpl world = resolutionWorldBuilder.closeWorld(reporter);
+ ClosedWorldImpl world = resolutionWorldBuilder.closeWorld();
// Compute whole-program-knowledge that the backend needs. (This might
// require the information computed in [world.closeWorld].)
backend.onResolutionComplete(world, world);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | pkg/compiler/lib/src/js_backend/backend.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698