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

Issue 2365123002: Move async/await JS support code out of experimental natives (Closed)

Created:
4 years, 3 months ago by Dan Ehrenberg
Modified:
4 years, 2 months ago
Reviewers:
Yang, adamk, gsathya
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Move async/await JS support code out of experimental natives The file formerly known as src/js/harmony-async-await.js does not expose anything directly to JavaScript code; it just makes a few functions available on the native context for the parser desugaring to expand into. Experimental natives have various issues with larger amounts of code, so this patch moves the JS builtins to support async functions out of experimental natives and into the core snapshot. The change would be done eventually anyway, but this patch does it before removing the flag to support shipping the feature while avoiding the pitfalls of experimental natives. Drive by cleanup: remove more unused functions from the whitelist for experimental natives. BUG=v8:5427, v8:4483 Committed: https://crrev.com/13b8a1238b4d08d91938b3fea6bc25a34958ac78 Cr-Commit-Position: refs/heads/master@{#39706}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Add an important comma #

Patch Set 4 : Add back a couple Promise symbols #

Patch Set 5 : Alphabetize #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -207 lines) Patch
M BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M src/bootstrapper.cc View 1 chunk +1 line, -2 lines 0 comments Download
A + src/js/async-await.js View 0 chunks +-1 lines, --1 lines 0 comments Download
D src/js/harmony-async-await.js View 1 chunk +0 lines, -180 lines 0 comments Download
M src/js/prologue.js View 1 2 3 4 2 chunks +2 lines, -24 lines 2 comments Download
M src/v8.gyp View 1 2 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (23 generated)
Dan Ehrenberg
I have verified interactively that this patch gets rid of the TSAN failures that come ...
4 years, 2 months ago (2016-09-24 14:42:14 UTC) #18
gsathya
https://codereview.chromium.org/2365123002/diff/80001/src/js/prologue.js File src/js/prologue.js (left): https://codereview.chromium.org/2365123002/diff/80001/src/js/prologue.js#oldcode207 src/js/prologue.js:207: "RegExpSubclassTest", These RegExp changes seem unrelated to this patch ...
4 years, 2 months ago (2016-09-24 15:04:49 UTC) #19
gsathya
+adam, since i don't know a whole about the mechanics of --harmony
4 years, 2 months ago (2016-09-24 15:06:05 UTC) #21
Dan Ehrenberg
https://codereview.chromium.org/2365123002/diff/80001/src/js/prologue.js File src/js/prologue.js (left): https://codereview.chromium.org/2365123002/diff/80001/src/js/prologue.js#oldcode207 src/js/prologue.js:207: "RegExpSubclassTest", On 2016/09/24 at 15:04:49, gsathya wrote: > These ...
4 years, 2 months ago (2016-09-24 15:07:02 UTC) #25
gsathya
lgtm
4 years, 2 months ago (2016-09-24 15:10:38 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2365123002/80001
4 years, 2 months ago (2016-09-24 15:11:12 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-24 15:15:13 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-09-24 15:15:28 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/13b8a1238b4d08d91938b3fea6bc25a34958ac78
Cr-Commit-Position: refs/heads/master@{#39706}

Powered by Google App Engine
This is Rietveld 408576698