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

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

Issue 2896853002: Create SsaBuilderTask stub for KernelBackendStrategy (Closed)
Patch Set: Rebased Created 3 years, 7 months 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 | « pkg/compiler/lib/src/backend_strategy.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
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 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.
« no previous file with comments | « pkg/compiler/lib/src/backend_strategy.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698