|
|
DDC: mostly incremental compilation, fixes #223
if the output file is out of date, we recompile, otherwise we skip as much work as possible
Further details:
Multitest support (Dart language tests) also was updated to avoid overwriting with identical data. For the same reason, codegen_test no longer deletes old output automatically.
If nothing changed, ./tool/build_sdk.dart and ./test/codengen_test.dart should be almost instantaneous.
If any of the compiler sources changed, a full rebuild is necessary. Right now it tries to detect this automatically, but it's a bit flaky because finding our own sources isn't reliable (e.g. test runner starts us using a data: URL, so Platform.script is useless). Maybe we should just try and have all output in one place, so you can rm -rf to clean it?
Definitely give this a look over ... there's always the possibility with this kind of change of introducing bugs due to stale output.
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+585 lines, -1415 lines) |
Patch |
 |
A |
lib/runtime/dart/_interceptors.txt
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/_internal.txt
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/_isolate_helper.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/_js_helper.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/_native_typed_data.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/async.txt
|
View
|
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/collection.txt
|
View
|
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/convert.txt
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/core.txt
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/js.txt
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
lib/runtime/dart/math.txt
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
lib/src/compiler.dart
|
View
|
|
11 chunks |
+148 lines, -82 lines |
1 comment
|
Download
|
 |
M |
lib/src/options.dart
|
View
|
1
2
|
6 chunks |
+32 lines, -6 lines |
1 comment
|
Download
|
 |
M |
lib/src/report.dart
|
View
|
|
4 chunks |
+45 lines, -18 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/8invalid-chars.in+file_name.txt
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/BenchmarkBase.txt
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/DeltaBlue.txt
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/async_helper.txt
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/cascade.txt
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/closure.txt
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/constructors.txt
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/covariance.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
test/codegen/expect/domtest.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/expect.txt
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/fieldtest.txt
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/functions.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
test/codegen/expect/html_input.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/js_test.txt
|
View
|
|
1 chunk |
+16 lines, -684 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/map_keys.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/methods.txt
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/misc.txt
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/names.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/opassign.txt
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/script.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/sunflower/sunflower.txt
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/codegen/expect/syncstar_syntax.txt
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
D |
test/codegen/expect/temps.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
test/codegen/expect/try_catch.txt
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/unittest.txt
|
View
|
1
|
1 chunk |
+0 lines, -198 lines |
0 comments
|
Download
|
 |
M |
test/codegen/js_test.dart
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
test/codegen_test.dart
|
View
|
1
2
|
6 chunks |
+23 lines, -44 lines |
0 comments
|
Download
|
 |
M |
test/end_to_end_test.dart
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tool/build_sdk.sh
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tool/patch_sdk.dart
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
D |
tool/sdk_expected_errors.txt
|
View
|
|
1 chunk |
+0 lines, -304 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|