Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 2084a7e37b535b75f65802da6dcfc911c0f1399e..bb9a42c9e0653403aad02a9fc8658e0faf819f66 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -198,7 +198,7 @@ abstract class Compiler { |
? new KernelFrontEndStrategy(reporter, environment) |
: new ResolutionFrontEndStrategy(this); |
backendStrategy = options.loadFromDill |
- ? new KernelBackendStrategy() |
+ ? new KernelBackendStrategy(this) |
: new ElementBackendStrategy(this); |
_resolution = createResolution(); |
_elementEnvironment = frontEndStrategy.elementEnvironment; |
@@ -261,8 +261,7 @@ abstract class Compiler { |
generateSourceMap: options.generateSourceMap, |
useStartupEmitter: options.useStartupEmitter, |
useMultiSourceInfo: options.useMultiSourceInfo, |
- useNewSourceInfo: options.useNewSourceInfo, |
- useKernel: options.useKernel); |
+ useNewSourceInfo: options.useNewSourceInfo); |
} |
/// Creates the scanner task. |