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

Issue 2729913005: [Fasta] include source code in dill (Closed)

Created:
3 years, 9 months ago by jensj
Modified:
3 years, 9 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[Fasta] include source code in dill At least for now, only when passing --include-source BUG= R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/a58fe4898dc95ab8e59f917a962fc243a7c22a74

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed comments #

Total comments: 8

Patch Set 3 : Address new comments #

Patch Set 4 : Use Uint8List.view when possible #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -15 lines) Patch
M pkg/front_end/lib/src/fasta/compiler_command_line.dart View 2 chunks +5 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/dill/dill_target.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_loader.dart View 1 2 3 4 chunks +18 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/target_implementation.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M pkg/kernel/lib/analyzer/loader.dart View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M pkg/kernel/lib/transformations/closure/mock.dart View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
jensj
3 years, 9 months ago (2017-03-03 10:08:31 UTC) #2
ahe
https://codereview.chromium.org/2729913005/diff/1/pkg/front_end/lib/src/fasta/dill/dill_target.dart File pkg/front_end/lib/src/fasta/dill/dill_target.dart (right): https://codereview.chromium.org/2729913005/diff/1/pkg/front_end/lib/src/fasta/dill/dill_target.dart#newcode34 pkg/front_end/lib/src/fasta/dill/dill_target.dart:34: void addSourceInformation(Uri uri, List<int> lineStarts, String sourceCode) { This ...
3 years, 9 months ago (2017-03-03 12:30:32 UTC) #3
jensj
Done.
3 years, 9 months ago (2017-03-03 13:02:21 UTC) #4
ahe
lgtm https://codereview.chromium.org/2729913005/diff/20001/pkg/front_end/lib/src/fasta/source/source_loader.dart File pkg/front_end/lib/src/fasta/source/source_loader.dart (right): https://codereview.chromium.org/2729913005/diff/20001/pkg/front_end/lib/src/fasta/source/source_loader.dart#newcode47 pkg/front_end/lib/src/fasta/source/source_loader.dart:47: bool get includeSource => CompilerContext.current.options.includeSource; This should be ...
3 years, 9 months ago (2017-03-03 13:14:51 UTC) #5
jensj
Comments addressed. I noticed, though, that the data is 0-terminated, which we don't want to ...
3 years, 9 months ago (2017-03-06 07:38:36 UTC) #6
ahe
On 2017/03/06 07:38:36, jensj wrote: > Comments addressed. > I noticed, though, that the data ...
3 years, 9 months ago (2017-03-07 11:33:58 UTC) #7
ahe
On 2017/03/07 11:33:58, ahe wrote: > On 2017/03/06 07:38:36, jensj wrote: > > Comments addressed. ...
3 years, 9 months ago (2017-03-07 11:34:31 UTC) #8
jensj
Thanks for the view hint. I was looking for something like that but couldn't find ...
3 years, 9 months ago (2017-03-07 14:47:51 UTC) #11
jensj
3 years, 9 months ago (2017-03-07 14:48:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:100001) manually as
a58fe4898dc95ab8e59f917a962fc243a7c22a74 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698