Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 0af9bede7f9385a76691d1ed4ec322f7a67a174a..a0bd59f9763a375711c37fe106c90e8f2e2a5267 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -8,7 +8,6 @@ import 'dart:async' show Future; |
import '../compiler_new.dart' as api; |
import 'backend_strategy.dart'; |
-import 'closure.dart' as closureMapping show ClosureConversionTask; |
import 'common/names.dart' show Selectors; |
import 'common/names.dart' show Uris; |
import 'common/resolution.dart' |
@@ -145,7 +144,6 @@ abstract class Compiler { |
LibraryLoaderTask libraryLoader; |
SerializationTask serialization; |
ResolverTask resolver; |
- closureMapping.ClosureConversionTask closureDataLookup; |
TypeCheckerTask checker; |
GlobalTypeInferenceTask globalInference; |
JavaScriptBackend backend; |
@@ -227,7 +225,6 @@ abstract class Compiler { |
measurer), |
parser = new ParserTask(this), |
resolver = createResolverTask(), |
- closureDataLookup = backendStrategy.createClosureConversionTask(this), |
checker = new TypeCheckerTask(this), |
globalInference = new GlobalTypeInferenceTask(this), |
constants = backend.constantCompilerTask, |
@@ -662,7 +659,7 @@ abstract class Compiler { |
// TODO(johnniwinther): Move this after rti computation but before |
// reflection members computation, and (re-)close the world afterwards. |
- closureDataLookup.convertClosures( |
+ backendStrategy.closureDataLookup.convertClosures( |
enqueuer.resolution.processedEntities, closedWorldRefiner); |
return closedWorldRefiner; |
} |