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

Issue 1875643002: Dart VM: Simplify token positions in the translation of await. (Closed)

Created:
4 years, 8 months ago by Kevin Millikin (Google)
Modified:
4 years ago
Reviewers:
hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Dart VM: Simplify token positions in the translation of await. We can reuse the token position given by ST(node->token_pos()). This allows the token positions for the final result to fit the pattern assumed by MakeName. R=hausner@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/c33789c4f50e5236f9df2d0d327c9f3f395629ee

Patch Set 1 #

Total comments: 2

Patch Set 2 : LoadLocal instead of LocalVariable. #

Patch Set 3 : Rebase before committing. #

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

Messages

Total messages: 6 (1 generated)
Kevin Millikin (Google)
This was a smaller change than I thought it would be.
4 years, 8 months ago (2016-04-08 07:47:23 UTC) #1
hausner
Does this CL compile? I may be missing something, but I expected a LoadLocalNode being ...
4 years, 8 months ago (2016-04-08 16:43:36 UTC) #2
Kevin Millikin (Google)
You are right, that was inadvertent. Please take another look.
4 years, 8 months ago (2016-04-11 09:06:11 UTC) #3
hausner
LGTM.
4 years, 8 months ago (2016-04-12 15:36:44 UTC) #4
Kevin Millikin (Google)
4 years ago (2016-11-24 08:44:46 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c33789c4f50e5236f9df2d0d327c9f3f395629ee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698