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

Issue 922603002: Fix another missing source location VM stacktrace with async code. (Closed)

Created:
5 years, 10 months ago by Florian Schneider
Modified:
5 years, 10 months ago
Reviewers:
hausner, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix another missing source location VM stacktrace with async code. The transformed AST for await now uses the token position from the original await node. BUG=dartbug.com/22009 R=hausner@google.com, iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=43842

Patch Set 1 #

Total comments: 4

Patch Set 2 : only record token position at instance call #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M runtime/vm/ast_transformer.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
Florian Schneider
5 years, 10 months ago (2015-02-12 11:20:09 UTC) #2
hausner
This may fix the stack trace issue, but changes (and most likely breaks) the debugger ...
5 years, 10 months ago (2015-02-12 17:18:44 UTC) #3
nweiz
DBC On 2015/02/12 17:18:44, hausner wrote: > As we create more and more syntactic sugar ...
5 years, 10 months ago (2015-02-12 18:43:51 UTC) #4
Florian Schneider
Doesn't the debugger step forward until reaching the next token position anyway? On the other ...
5 years, 10 months ago (2015-02-13 10:21:06 UTC) #5
Florian Schneider
https://codereview.chromium.org/922603002/diff/1/runtime/vm/ast_transformer.cc File runtime/vm/ast_transformer.cc (right): https://codereview.chromium.org/922603002/diff/1/runtime/vm/ast_transformer.cc#newcode189 runtime/vm/ast_transformer.cc:189: new(Z) InstanceCallNode(node->token_pos(), To fix the bug it would be ...
5 years, 10 months ago (2015-02-13 10:25:28 UTC) #7
Florian Schneider
On 2015/02/12 18:43:51, nweiz wrote: > DBC > > On 2015/02/12 17:18:44, hausner wrote: > ...
5 years, 10 months ago (2015-02-13 10:33:38 UTC) #8
Ivan Posva
LGTM with only calls directly associated with the await expression having a valid token index. ...
5 years, 10 months ago (2015-02-18 07:43:12 UTC) #10
Florian Schneider
On 2015/02/18 07:43:12, Ivan Posva wrote: > LGTM with only calls directly associated with the ...
5 years, 10 months ago (2015-02-18 14:48:50 UTC) #11
Florian Schneider
5 years, 10 months ago (2015-02-18 14:50:42 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r43842 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698