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

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

Issue 2795763005: Revert "Add "load from .dill" file capability and run a white-box test." (Closed)
Patch Set: Created 3 years, 8 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/library_loader.dart ('k') | pkg/compiler/lib/src/serialization/task.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 dfb603ab9a01e0692eccca2189c65c5e175d9426..58dc1b84cdb7c9b08f1551ded7430118d4165c40 100644
--- a/pkg/compiler/lib/src/options.dart
+++ b/pkg/compiler/lib/src/options.dart
@@ -202,10 +202,6 @@ class CompilerOptions implements DiagnosticOptions {
/// Whether to use kernel internally as part of compilation.
final bool useKernel;
- /// Read input from a .dill file rather than a .dart input (only to be used in
- /// conjunction with useKernel = true).
- final bool loadFromDill;
-
// Whether to use kernel internally for global type inference calculations.
// TODO(efortuna): Remove this and consolidate with useKernel.
final bool kernelGlobalInference;
@@ -306,7 +302,6 @@ class CompilerOptions implements DiagnosticOptions {
useContentSecurityPolicy:
_hasOption(options, Flags.useContentSecurityPolicy),
useKernel: _hasOption(options, Flags.useKernel),
- loadFromDill: _hasOption(options, Flags.loadFromDill),
useFrequencyNamer:
!_hasOption(options, Flags.noFrequencyBasedMinification),
useMultiSourceInfo: _hasOption(options, Flags.useMultiSourceInfo),
@@ -367,7 +362,6 @@ class CompilerOptions implements DiagnosticOptions {
bool trustTypeAnnotations: false,
bool useContentSecurityPolicy: false,
bool useKernel: false,
- bool loadFromDill: false,
bool useFrequencyNamer: true,
bool useMultiSourceInfo: false,
bool useNewSourceInfo: false,
@@ -440,7 +434,6 @@ class CompilerOptions implements DiagnosticOptions {
trustTypeAnnotations: trustTypeAnnotations,
useContentSecurityPolicy: useContentSecurityPolicy,
useKernel: useKernel,
- loadFromDill: loadFromDill,
useFrequencyNamer: useFrequencyNamer,
useMultiSourceInfo: useMultiSourceInfo,
useNewSourceInfo: useNewSourceInfo,
@@ -491,7 +484,6 @@ class CompilerOptions implements DiagnosticOptions {
this.trustTypeAnnotations: false,
this.useContentSecurityPolicy: false,
this.useKernel: false,
- this.loadFromDill: false,
this.useFrequencyNamer: false,
this.useMultiSourceInfo: false,
this.useNewSourceInfo: false,
@@ -549,7 +541,6 @@ class CompilerOptions implements DiagnosticOptions {
trustTypeAnnotations,
useContentSecurityPolicy,
useKernel,
- loadFromDill,
useFrequencyNamer,
useMultiSourceInfo,
useNewSourceInfo,
@@ -617,7 +608,6 @@ class CompilerOptions implements DiagnosticOptions {
useContentSecurityPolicy:
useContentSecurityPolicy ?? options.useContentSecurityPolicy,
useKernel: useKernel ?? options.useKernel,
- loadFromDill: loadFromDill ?? options.loadFromDill,
useFrequencyNamer: useFrequencyNamer ?? options.useFrequencyNamer,
useMultiSourceInfo: useMultiSourceInfo ?? options.useMultiSourceInfo,
useNewSourceInfo: useNewSourceInfo ?? options.useNewSourceInfo,
« no previous file with comments | « pkg/compiler/lib/src/library_loader.dart ('k') | pkg/compiler/lib/src/serialization/task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698