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

Issue 902783008: The execution of an async* should only be scheduled when the stream is (Closed)

Created:
5 years, 10 months ago by sigurdm
Modified:
5 years, 10 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Only schedule the execution of an async* when the stream is subscribed to. BUG= R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=43646

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Address review comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M pkg/compiler/lib/src/js/rewrite_async.dart View 1 3 chunks +8 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 2 chunks +5 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_helper.dart View 1 4 chunks +11 lines, -5 lines 0 comments Download
A + tests/language/asyncstar_concat_test.dart View 1 chunk +17 lines, -10 lines 0 comments Download
M tests/language/language.status View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
sigurdm
5 years, 10 months ago (2015-02-10 12:54:56 UTC) #3
floitsch
LGTM except for the part in the `onPause` callback. I would prefer to reduce the ...
5 years, 10 months ago (2015-02-10 13:27:50 UTC) #4
sigurdm
https://codereview.chromium.org/902783008/diff/20001/pkg/compiler/lib/src/js/rewrite_async.dart File pkg/compiler/lib/src/js/rewrite_async.dart (right): https://codereview.chromium.org/902783008/diff/20001/pkg/compiler/lib/src/js/rewrite_async.dart#newcode191 pkg/compiler/lib/src/js/rewrite_async.dart:191: /// Sepcific to async* methods. On 2015/02/10 13:27:50, floitsch ...
5 years, 10 months ago (2015-02-10 13:35:52 UTC) #6
floitsch
Still LGTM.
5 years, 10 months ago (2015-02-10 14:11:37 UTC) #7
sigurdm
5 years, 10 months ago (2015-02-10 14:20:17 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as 43646 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698