Index: pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
diff --git a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
index e56b5d1bc82b5d0ce850237d5d7738accb604350..85a7c534a0d5c47c14b7f7f403fbdb334b4a7821 100644 |
--- a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
+++ b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart |
@@ -59,9 +59,6 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator { |
/// The logger to report compilation progress. |
final PerformanceLog _logger; |
- /// The current file system state. |
- final FileSystemState _fsState; |
- |
/// The byte storage to get and put serialized data. |
final ByteStore _byteStore; |
@@ -71,6 +68,9 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator { |
/// The salt to mix into all hashes used as keys for serialized data. |
List<int> _salt; |
+ /// The current file system state. |
+ FileSystemState _fsState; |
+ |
/// Latest compilation signatures produced by [computeDelta] for libraries. |
final Map<Uri, String> _latestSignature = {}; |
@@ -81,9 +81,9 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator { |
IncrementalKernelGeneratorImpl( |
this._options, this._uriTranslator, this._entryPoint) |
: _logger = _options.logger, |
- _fsState = new FileSystemState(_options.fileSystem, _uriTranslator), |
_byteStore = _options.byteStore { |
_computeSalt(); |
+ _fsState = new FileSystemState(_options.fileSystem, _uriTranslator, _salt); |
} |
@override |