Index: pkg/compiler/lib/src/js_backend/kernel_task.dart |
diff --git a/pkg/compiler/lib/src/js_backend/kernel_task.dart b/pkg/compiler/lib/src/js_backend/kernel_task.dart |
index 7f5358042a88ccf1055cd58e70982071fb23b9af..0c59fa491a58757ff909e15d4c13822072505fa1 100644 |
--- a/pkg/compiler/lib/src/js_backend/kernel_task.dart |
+++ b/pkg/compiler/lib/src/js_backend/kernel_task.dart |
@@ -22,7 +22,6 @@ class KernelTask { |
/// |
/// May enqueue more elements to the resolution queue. |
void buildKernelIr() { |
- kernel.functionToIr(_compiler.mainFunction); |
- kernel.processWorkQueue(); |
+ kernel.libraryDependencies(_compiler.options.entryPoint); |
} |
} |