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

Unified Diff: pkg/front_end/lib/compiler_options.dart

Issue 2877193003: Start actually adding incrementality into incremental kernel generator. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 7 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
Index: pkg/front_end/lib/compiler_options.dart
diff --git a/pkg/front_end/lib/compiler_options.dart b/pkg/front_end/lib/compiler_options.dart
index 4de445b9dbc4fbaa77b0e33045753c02e6814339..83283fb15562d755239cee2cbcb9770eca19f006 100644
--- a/pkg/front_end/lib/compiler_options.dart
+++ b/pkg/front_end/lib/compiler_options.dart
@@ -5,6 +5,10 @@
library front_end.compiler_options;
import 'dart:async';
+
+import 'package:front_end/src/base/performace_logger.dart';
+import 'package:front_end/src/incremental/byte_store.dart';
+
import 'compilation_error.dart';
import 'file_system.dart';
import 'physical_file_system.dart';
@@ -103,6 +107,12 @@ class CompilerOptions {
/// file system. TODO(paulberry): fix this.
FileSystem fileSystem = PhysicalFileSystem.instance;
+ /// The byte storage to get and put serialized data.
+ ByteStore byteStore = new NullByteStore();
+
+ /// The logger to report compilation progress.
+ PerformanceLog logger = new PerformanceLog(new StringBuffer());
+
/// Whether to generate code for the SDK when compiling a whole-program.
bool compileSdk = false;
« no previous file with comments | « no previous file | pkg/front_end/lib/src/base/processed_options.dart » ('j') | pkg/front_end/lib/src/incremental/file_state.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698