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

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

Issue 2498403002: Compute WorldImpact in NativeEnqueuer. (Closed)
Patch Set: dartfmt Created 4 years, 1 month 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/native/enqueue.dart » ('j') | pkg/compiler/lib/src/native/enqueue.dart » ('J')
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 c2f91fee4123a802c082b4713603f0b074dadf7c..b88c46294cba7424e8d9d250102ec5fcd481d85a 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -850,10 +850,10 @@ abstract class Compiler implements LibraryLoaderListener {
void processQueue(Enqueuer enqueuer, Element main) {
selfTask.measureSubtask("Compiler.processQueue", () {
- WorldImpactBuilderImpl nativeImpact = new WorldImpactBuilderImpl();
- enqueuer.nativeEnqueuer
- .processNativeClasses(nativeImpact, libraryLoader.libraries);
- enqueuer.applyImpact(impactStrategy, nativeImpact);
+ enqueuer.applyImpact(
+ impactStrategy,
+ enqueuer.nativeEnqueuer
+ .processNativeClasses(libraryLoader.libraries));
if (main != null && !main.isMalformed) {
FunctionElement mainMethod = main;
mainMethod.computeType(resolution);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/native/enqueue.dart » ('j') | pkg/compiler/lib/src/native/enqueue.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698