| 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 1de80f07f742a4ee91d05cf2849b3efa9db58655..4302f87f4df0c93f9c93aa6722e1ac8ca0a0aec8 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -115,6 +115,11 @@ abstract class Compiler implements DiagnosticListener {
|
| final bool enableTypeAssertions;
|
| final bool enableUserAssertions;
|
| final bool enableConcreteTypeInference;
|
| + /**
|
| + * The maximum size of a concrete type before it widens to dynamic during
|
| + * concrete type inference.
|
| + */
|
| + final int maxConcreteTypeSize;
|
| final bool analyzeAll;
|
| final bool enableNativeLiveTypeAnalysis;
|
| final bool rejectDeprecatedFeatures;
|
| @@ -233,6 +238,7 @@ abstract class Compiler implements DiagnosticListener {
|
| this.enableTypeAssertions: false,
|
| this.enableUserAssertions: false,
|
| this.enableConcreteTypeInference: false,
|
| + this.maxConcreteTypeSize: 5,
|
| this.enableMinification: false,
|
| this.enableNativeLiveTypeAnalysis: false,
|
| bool emitJavaScript: true,
|
| @@ -271,7 +277,7 @@ abstract class Compiler implements DiagnosticListener {
|
| resolver = new ResolverTask(this),
|
| closureToClassMapper = new closureMapping.ClosureTask(this, closureNamer),
|
| checker = new TypeCheckerTask(this),
|
| - typesTask = new ti.TypesTask(this, enableConcreteTypeInference),
|
| + typesTask = new ti.TypesTask(this),
|
| constantHandler = new ConstantHandler(this, backend.constantSystem),
|
| enqueuer = new EnqueueTask(this)];
|
|
|
|
|