| Index: pkg/compiler/lib/src/js_backend/backend.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
|
| index 81cb90f1bac1039945d78f81b510218d49897278..4ef4a092d61ad84650be6eda28dc695068f2bc58 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend.dart
|
| @@ -597,7 +597,8 @@ class JavaScriptBackend extends Backend {
|
| JavaScriptBackend(Compiler compiler,
|
| {bool generateSourceMap: true,
|
| bool useStartupEmitter: false,
|
| - bool useNewSourceInfo: false})
|
| + bool useNewSourceInfo: false,
|
| + bool useKernel: false})
|
| : namer = determineNamer(compiler),
|
| oneShotInterceptors = new Map<jsAst.Name, Selector>(),
|
| interceptedElements = new Map<String, Set<Element>>(),
|
| @@ -625,6 +626,7 @@ class JavaScriptBackend extends Backend {
|
| constantCompilerTask = new JavaScriptConstantTask(compiler);
|
| impactTransformer = new JavaScriptImpactTransformer(this);
|
| patchResolverTask = new PatchResolverTask(compiler);
|
| + // TODO(sigmund): pass along the kernel flag.
|
| functionCompiler = new SsaFunctionCompiler(this, sourceInformationStrategy);
|
| serialization = new JavaScriptBackendSerialization(this);
|
| }
|
|
|