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

Issue 2610133002: Non-format-changing kernel offset changes (Closed)

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

Description

Non-format-changing kernel offset changes Updates to kernel that sets more offsets (and introduces end offests and 'debuggability') - but doesn't necessarily persist them, i.e. the format doesn't change and no C++ changes are neccessary yet. This is step #1 in introducing these things, next step(s) will be persisting the new stuff and using it on the C++ side. R=asgerf@google.com, kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/5edca8c4d3733f319ab2d328aa28ceb286a30904 Reopening as I reverted the change as it broke package:compiler. Committed: https://github.com/dart-lang/sdk/commit/3f55b8e2b747b59a9a8d0a687ffa73332731f9db

Patch Set 1 #

Patch Set 2 : Fixed debug position for 'x.?methodCall' #

Patch Set 3 : End offset doesn't appear to be needed on AwaitExpression (anymore) #

Total comments: 14

Patch Set 4 : Changes from feedback #

Patch Set 5 : Changed offset variable introduced in various methods in accessors.dart to a named parameter with d… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -55 lines) Patch
M pkg/kernel/bin/dartk.dart View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M pkg/kernel/lib/analyzer/ast_from_analyzer.dart View 1 2 3 4 16 chunks +38 lines, -11 lines 0 comments Download
M pkg/kernel/lib/analyzer/loader.dart View 1 2 3 5 chunks +10 lines, -5 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M pkg/kernel/lib/clone.dart View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M pkg/kernel/lib/frontend/accessors.dart View 1 2 3 4 2 chunks +26 lines, -14 lines 0 comments Download
M pkg/kernel/lib/kernel.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/kernel/lib/text/ast_to_text.dart View 7 chunks +10 lines, -1 line 0 comments Download
M pkg/kernel/lib/transformations/async.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/kernel/lib/transformations/continuation.dart View 11 chunks +26 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
jensj
3 years, 11 months ago (2017-01-04 13:52:56 UTC) #2
asgerf
lgtm https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/lib/analyzer/loader.dart File pkg/kernel/lib/analyzer/loader.dart (right): https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/lib/analyzer/loader.dart#newcode321 pkg/kernel/lib/analyzer/loader.dart:321: ..fileOffset = element.nameOffset; What is the class offset ...
3 years, 11 months ago (2017-01-04 14:20:02 UTC) #3
Kevin Millikin (Google)
LGTM with some comments on the comments. https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/bin/dartk.dart File pkg/kernel/bin/dartk.dart (right): https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/bin/dartk.dart#newcode81 pkg/kernel/bin/dartk.dart:81: 'in file.'); ...
3 years, 11 months ago (2017-01-04 14:36:58 UTC) #4
jensj
https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/bin/dartk.dart File pkg/kernel/bin/dartk.dart (right): https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/bin/dartk.dart#newcode81 pkg/kernel/bin/dartk.dart:81: 'in file.'); On 2017/01/04 14:36:58, Kevin Millikin (Google) wrote: ...
3 years, 11 months ago (2017-01-05 09:07:55 UTC) #5
asgerf
https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/lib/analyzer/loader.dart File pkg/kernel/lib/analyzer/loader.dart (right): https://codereview.chromium.org/2610133002/diff/40001/pkg/kernel/lib/analyzer/loader.dart#newcode321 pkg/kernel/lib/analyzer/loader.dart:321: ..fileOffset = element.nameOffset; On 2017/01/05 09:07:55, jensj wrote: > ...
3 years, 11 months ago (2017-01-05 11:37:41 UTC) #6
jensj
Committed patchset #4 (id:60001) manually as 5edca8c4d3733f319ab2d328aa28ceb286a30904 (presubmit successful).
3 years, 11 months ago (2017-01-05 12:25:55 UTC) #8
jensj
So the old version broke package:compiler because I had changed the number of required parameters ...
3 years, 11 months ago (2017-01-05 14:54:59 UTC) #10
asgerf
lgtm
3 years, 11 months ago (2017-01-05 14:56:47 UTC) #11
jensj
3 years, 11 months ago (2017-01-10 08:16:28 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
3f55b8e2b747b59a9a8d0a687ffa73332731f9db (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698