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

Issue 2587673004: Include source in kernel. (Closed)

Created:
4 years ago by jensj
Modified:
3 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Include source in kernel. - For now include source uncompressed. - When running from kernel, use token position 0 (i.e. dummy, but 'real' position) as start and end on functions and classes to enable Observatory to run with the dill file. - Debugging does not work, but one can browse the source in Observatory. R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/aecb572d769726cbc0413c2ac15f8bdaf73c4445

Patch Set 1 #

Patch Set 2 : Updated kernels binary.md too. #

Total comments: 32

Patch Set 3 : Changes based on feedback #

Total comments: 2

Patch Set 4 : Fixed some rebase errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -67 lines) Patch
M pkg/kernel/binary.md View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M pkg/kernel/lib/analyzer/loader.dart View 1 2 8 chunks +17 lines, -11 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 2 3 chunks +12 lines, -5 lines 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M runtime/vm/kernel.h View 1 2 3 chunks +18 lines, -10 lines 0 comments Download
M runtime/vm/kernel_binary.cc View 1 2 3 chunks +16 lines, -12 lines 0 comments Download
M runtime/vm/kernel_reader.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/kernel_reader.cc View 1 2 3 5 chunks +22 lines, -10 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 6 chunks +65 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
jensj
4 years ago (2016-12-20 11:59:42 UTC) #2
Kevin Millikin (Google)
Basically looks good with a round of comments. https://codereview.chromium.org/2587673004/diff/20001/pkg/kernel/lib/analyzer/loader.dart File pkg/kernel/lib/analyzer/loader.dart (right): https://codereview.chromium.org/2587673004/diff/20001/pkg/kernel/lib/analyzer/loader.dart#newcode336 pkg/kernel/lib/analyzer/loader.dart:336: fileUri: ...
4 years ago (2016-12-20 12:03:34 UTC) #3
jensj
Thanks for the comments. PTAL. https://codereview.chromium.org/2587673004/diff/20001/pkg/kernel/lib/analyzer/loader.dart File pkg/kernel/lib/analyzer/loader.dart (right): https://codereview.chromium.org/2587673004/diff/20001/pkg/kernel/lib/analyzer/loader.dart#newcode336 pkg/kernel/lib/analyzer/loader.dart:336: fileUri: "file://${element.source.fullName}"); On 2016/12/20 ...
4 years ago (2016-12-20 13:30:23 UTC) #4
Kevin Millikin (Google)
LGTM. John, could you take a quick look at the VM parts of this change? ...
4 years ago (2016-12-20 14:05:25 UTC) #6
Cutch
Using 0 as the start / end of function / class isn't right and I'm ...
4 years ago (2016-12-21 00:27:12 UTC) #7
Kevin Millikin (Google)
Thanks for taking a look, John. Jens is out of the office until after the ...
4 years ago (2016-12-21 07:20:01 UTC) #8
jensj
3 years, 11 months ago (2017-01-03 13:33:24 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
aecb572d769726cbc0413c2ac15f8bdaf73c4445 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698