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

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

Issue 2826673002: Remove JavaScriptBackend from ClosedWorldBase (Closed)
Patch Set: Fix 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 | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 67c4e599583b097f982e000f18d9dcc0501bb249..4618061c7dd270cc3ae25b492eefc4759451a2a6 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -632,6 +632,7 @@ abstract class Compiler {
processQueue(resolutionEnqueuer, mainMethod, libraryLoader.libraries,
onProgress: showResolutionProgress);
+ backend.onResolutionEnd();
resolutionEnqueuer.logSummary(reporter.log);
_reporter.reportSuppressedMessagesSummary();
@@ -699,10 +700,10 @@ 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);
+ backend.onResolutionClosedWorld(world, world);
deferredLoadTask.onResolutionComplete(mainFunction);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698