Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart |
index ecfe995aef66d5278c11489646758458f43ec760..34a55ff5247651d37a92da4e6c554e0487b5668d 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -544,6 +544,7 @@ abstract class Compiler implements DiagnosticListener { |
ResolverTask resolver; |
closureMapping.ClosureTask closureToClassMapper; |
TypeCheckerTask checker; |
+ IrBuilderTask irBuilder; |
ti.TypesTask typesTask; |
Backend backend; |
ConstantHandler constantHandler; |
@@ -656,6 +657,7 @@ abstract class Compiler implements DiagnosticListener { |
resolver = new ResolverTask(this), |
closureToClassMapper = new closureMapping.ClosureTask(this, closureNamer), |
checker = new TypeCheckerTask(this), |
+ irBuilder = new IrBuilderTask(this), |
typesTask = new ti.TypesTask(this), |
constantHandler = new ConstantHandler(this, backend.constantSystem), |
deferredLoadTask = new DeferredLoadTask(this), |
@@ -1111,6 +1113,9 @@ abstract class Compiler implements DiagnosticListener { |
deferredLoadTask.onResolutionComplete(main); |
+ log('Building IR...'); |
+ irBuilder.buildNodes(); |
+ |
log('Inferring types...'); |
typesTask.onResolutionComplete(main); |