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

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

Issue 3002313002: Use KernelTypeGraphBuilder in KernelInferrerEngine (Closed)
Patch Set: Updated cf. comments. Created 3 years, 4 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/kernel/element_map_impl.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/options.dart
diff --git a/pkg/compiler/lib/src/options.dart b/pkg/compiler/lib/src/options.dart
index 096d66637dac79255a373fd18d09e87c01eee937..d0f5a44ac5b70ba9dbaf2f908dd5771e3aeb412d 100644
--- a/pkg/compiler/lib/src/options.dart
+++ b/pkg/compiler/lib/src/options.dart
@@ -214,10 +214,6 @@ class CompilerOptions implements DiagnosticOptions {
/// extension format.
final bool useKernel;
- // Whether to use kernel internally for global type inference calculations.
- // TODO(efortuna): Remove this and consolidate with useKernel.
- final bool kernelGlobalInference;
-
/// When obfuscating for minification, whether to use the frequency of a name
/// as an heuristic to pick shorter names.
final bool useFrequencyNamer;
@@ -313,7 +309,6 @@ class CompilerOptions implements DiagnosticOptions {
generateCodeWithCompileTimeErrors:
_hasOption(options, Flags.generateCodeWithCompileTimeErrors),
generateSourceMap: !_hasOption(options, Flags.noSourceMaps),
- kernelGlobalInference: _hasOption(options, Flags.kernelGlobalInference),
outputUri: _extractUriOption(options, '--out='),
platformConfigUri:
_resolvePlatformConfigFromOptions(libraryRoot, options),
@@ -454,7 +449,6 @@ class CompilerOptions implements DiagnosticOptions {
generateCodeWithCompileTimeErrors:
generateCodeWithCompileTimeErrors && !useKernel,
generateSourceMap: generateSourceMap,
- kernelGlobalInference: kernelGlobalInference,
outputUri: outputUri,
platformConfigUri: platformConfigUri ??
_resolvePlatformConfig(libraryRoot, null, const []),
@@ -507,7 +501,6 @@ class CompilerOptions implements DiagnosticOptions {
this.experimentalAllocationsPath: null,
this.generateCodeWithCompileTimeErrors: false,
this.generateSourceMap: true,
- this.kernelGlobalInference: false,
this.outputUri: null,
this.platformConfigUri: null,
this.preserveComments: false,
@@ -635,8 +628,6 @@ class CompilerOptions implements DiagnosticOptions {
generateCodeWithCompileTimeErrors: generateCodeWithCompileTimeErrors ??
options.generateCodeWithCompileTimeErrors,
generateSourceMap: generateSourceMap ?? options.generateSourceMap,
- kernelGlobalInference:
- kernelGlobalInference ?? options.kernelGlobalInference,
outputUri: outputUri ?? options.outputUri,
platformConfigUri: platformConfigUri ?? options.platformConfigUri,
preserveComments: preserveComments ?? options.preserveComments,
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698