Chromium Code Reviews| Index: pkg/front_end/lib/incremental_kernel_generator.dart |
| diff --git a/pkg/front_end/lib/incremental_kernel_generator.dart b/pkg/front_end/lib/incremental_kernel_generator.dart |
| index 637f640b1c730da93b1a6d401c955e9488b70e50..f1094f1e46d937e456c20fa20fde8b22d42edd3c 100644 |
| --- a/pkg/front_end/lib/incremental_kernel_generator.dart |
| +++ b/pkg/front_end/lib/incremental_kernel_generator.dart |
| @@ -16,11 +16,20 @@ import 'compiler_options.dart'; |
| class DeltaProgram { |
| /// The new state of the program. |
| /// |
| - /// Libraries whose kernel representation is known to be unchanged since the |
| - /// last [DeltaProgram] are not included. |
| - final Map<Uri, Program> newState; |
| + /// It includes full kernels for changed libraries and for libraries that |
| + /// are affected by the transitive change of API in the changed libraries. |
| + /// |
| + /// For VM reload purposes we need to provide also full kernels for the |
| + /// libraries that are transitively imported by the library with `main()` |
| + /// and transitively import a changed library. |
| + /// TODO(scheglov) With `main()` or entry point URI? |
|
Siggi Cherem (dart-lang)
2017/05/08 22:49:36
for the purpose of the implementation here - anyth
|
| + /// |
| + /// Also includes outlines for the transitive closure of libraries that are |
|
Siggi Cherem (dart-lang)
2017/05/08 22:49:36
Using the terminology from earlier today, I'd reph
|
| + /// referenced by previously specified changed, affected or VM-required |
| + /// libraries. |
| + final Program newProgram; |
| - DeltaProgram(this.newState); |
| + DeltaProgram(this.newProgram); |
|
Siggi Cherem (dart-lang)
2017/05/08 22:49:36
Let's add a TODO saying that [Program] will become
|
| /// TODO(paulberry): add information about libraries that were removed. |
| } |