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

Issue 989633003: Fix await x++ (Closed)

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

Description

Fix await x++ Fixes compiler crash bug 22634 Simplify transformation of await expressions. Do not allocate unnecessary temporary variables. Await LetNode temporary expressions still does not work properly since the temporary values are only saved on the stack by the back-end. Thus, a[await f()]++ still does not work after this change. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=44337

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -18 lines) Patch
M runtime/vm/ast_transformer.cc View 1 2 chunks +18 lines, -18 lines 0 comments Download
A tests/language/await_postfix_expr_test.dart View 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
hausner
5 years, 9 months ago (2015-03-09 16:12:15 UTC) #2
Ivan Posva
LGTM -ip
5 years, 9 months ago (2015-03-09 18:30:23 UTC) #3
hausner
5 years, 9 months ago (2015-03-09 19:17:31 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r44337 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698