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

Issue 1281523003: dart2js: Don't zone-register callbacks in async functions for every await. (Closed)

Created:
5 years, 4 months ago by floitsch
Modified:
5 years, 4 months ago
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

dart2js: Don't zone-register callbacks in async functions for every await. R=johnniwinther@google.com, lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/672df7c087e967183eefd2b942724a19a71012eb

Patch Set 1 #

Patch Set 2 : Patch-set with just the move. #

Patch Set 3 : Reapply changes. #

Patch Set 4 : Address comment. #

Patch Set 5 : Upload #

Total comments: 13

Patch Set 6 : Address comments. #

Patch Set 7 : Upload #

Patch Set 8 : Fix for type_checker_test #

Patch Set 9 : Change findLocal code.wq #

Patch Set 10 : Use origin instead of declaration. (already has the right type). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+441 lines, -395 lines) Patch
M pkg/compiler/lib/src/elements/modelx.dart View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 4 5 6 7 8 6 chunks +18 lines, -13 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/async_patch.dart View 1 2 3 4 5 3 chunks +386 lines, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 2 3 4 5 6 3 chunks +9 lines, -372 lines 0 comments Download
M sdk/lib/async/future_impl.dart View 1 chunk +10 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M tests/compiler/dart2js/type_checker_test.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
floitsch
This CL is based on https://chromiumcodereview.appspot.com/1163833002/. Use the different patch-sets to see that the moved ...
5 years, 4 months ago (2015-08-11 15:26:35 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/elements/modelx.dart#newcode1018 pkg/compiler/lib/src/elements/modelx.dart:1018: } Unrelated change? https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/js_backend/backend.dart File pkg/compiler/lib/src/js_backend/backend.dart (right): https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/js_backend/backend.dart#newcode673 ...
5 years, 4 months ago (2015-08-12 09:46:55 UTC) #3
floitsch
@Johnni: could you please look at the changes in modelx. https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/elements/modelx.dart#newcode1018 ...
5 years, 4 months ago (2015-08-12 13:30:47 UTC) #5
floitsch
https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/js_backend/backend.dart File pkg/compiler/lib/src/js_backend/backend.dart (right): https://codereview.chromium.org/1281523003/diff/60001/pkg/compiler/lib/src/js_backend/backend.dart#newcode673 pkg/compiler/lib/src/js_backend/backend.dart:673: Element findAsyncAwaitHelper(String name) => find(asyncLibrary, name); On 2015/08/12 09:46:55, ...
5 years, 4 months ago (2015-08-12 14:53:44 UTC) #6
Lasse Reichstein Nielsen
https://codereview.chromium.org/1281523003/diff/60001/sdk/lib/_internal/js_runtime/lib/async_patch.dart File sdk/lib/_internal/js_runtime/lib/async_patch.dart (right): https://codereview.chromium.org/1281523003/diff/60001/sdk/lib/_internal/js_runtime/lib/async_patch.dart#newcode9 sdk/lib/_internal/js_runtime/lib/async_patch.dart:9: ExceptionAndStackTrace, Ah, so it needs to be distinguishable from ...
5 years, 4 months ago (2015-08-13 09:02:32 UTC) #7
floitsch
@Johnni: I had to fix the Mockcompiler to include the private functions since they are ...
5 years, 4 months ago (2015-08-13 13:17:43 UTC) #8
floitsch
@Johnni: as discussed. changed the way how we find locals.
5 years, 4 months ago (2015-08-17 12:43:31 UTC) #9
Johnni Winther
lgtm
5 years, 4 months ago (2015-08-17 13:10:19 UTC) #10
floitsch
5 years, 4 months ago (2015-08-17 13:57:39 UTC) #11
Message was sent while issue was closed.
Committed patchset #10 (id:160001) manually as
672df7c087e967183eefd2b942724a19a71012eb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698