| 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 bdda72eb0990676d3ced0d3081898a7ac6547643..84764789cc18f6d39829296c209c11499ff309a7 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -216,6 +216,11 @@ abstract class Compiler implements DiagnosticListener {
|
| final int maxConcreteTypeSize;
|
| final bool analyzeAll;
|
| final bool analyzeOnly;
|
| + /**
|
| + * If true, skip analysis of method bodies and field initializers. Implies
|
| + * [analyzeOnly].
|
| + */
|
| + final bool analyzeSignaturesOnly;
|
| final bool enableNativeLiveTypeAnalysis;
|
| final bool rejectDeprecatedFeatures;
|
| final bool checkDeprecationInSdk;
|
| @@ -353,7 +358,8 @@ abstract class Compiler implements DiagnosticListener {
|
| bool generateSourceMap: true,
|
| bool disallowUnsafeEval: false,
|
| this.analyzeAll: false,
|
| - this.analyzeOnly: false,
|
| + bool analyzeOnly: false,
|
| + bool analyzeSignaturesOnly: false,
|
| this.rejectDeprecatedFeatures: false,
|
| this.checkDeprecationInSdk: false,
|
| this.preserveComments: false,
|
| @@ -361,8 +367,11 @@ abstract class Compiler implements DiagnosticListener {
|
| List<String> strips: const []})
|
| : libraries = new Map<String, LibraryElement>(),
|
| progress = new Stopwatch(),
|
| + this.analyzeOnly = analyzeOnly || analyzeSignaturesOnly,
|
| + this.analyzeSignaturesOnly = analyzeSignaturesOnly,
|
| this.outputProvider =
|
| (outputProvider == null) ? NullSink.outputProvider : outputProvider
|
| +
|
| {
|
| progress.start();
|
| world = new World(this);
|
|
|