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

Issue 2592933004: [promises] Move Promise.resolve to TF (Closed)

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

Description

[promises] Move Promise.resolve to TF Add a more low level BranchIfFastPath to take the native_context and promise_fun as args and change the existing one to use this. BUG=v8:5343 Review-Url: https://codereview.chromium.org/2592933004 Cr-Commit-Position: refs/heads/master@{#42075} Committed: https://chromium.googlesource.com/v8/v8/+/79ae8f17442bf61e9655fa8b27d4ddd529cccb0e

Patch Set 1 #

Patch Set 2 : faaaast pathssssssss #

Patch Set 3 : check identity of promise #

Patch Set 4 : add promisehook #

Patch Set 5 : throw correct typerror #

Total comments: 5

Patch Set 6 : rebase #

Patch Set 7 : remove native_context #

Patch Set 8 : add new branchiffastpath #

Patch Set 9 : add asserts #

Patch Set 10 : fix test #

Total comments: 8

Patch Set 11 : fix nits #

Patch Set 12 : fix rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -29 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-promise.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
M src/builtins/builtins-promise.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +118 lines, -6 lines 0 comments Download
M src/js/promise.js View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -22 lines 0 comments Download

Messages

Total messages: 56 (47 generated)
gsathya
4 years ago (2016-12-22 18:08:06 UTC) #11
adamk
Mostly trying to learn best practices here, feel free to educate me if my comments ...
4 years ago (2016-12-22 19:39:35 UTC) #13
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/2592933004/diff/80001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2592933004/diff/80001/src/builtins/builtins-promise.cc#newcode1072 src/builtins/builtins-promise.cc:1072: Node* const native_context = LoadNativeContext(context); ...
3 years, 12 months ago (2016-12-27 14:30:28 UTC) #14
gsathya
https://codereview.chromium.org/2592933004/diff/80001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2592933004/diff/80001/src/builtins/builtins-promise.cc#newcode1072 src/builtins/builtins-promise.cc:1072: Node* const native_context = LoadNativeContext(context); On 2016/12/27 14:30:28, Igor ...
3 years, 11 months ago (2017-01-03 17:35:26 UTC) #29
adamk
lgtm % nits https://codereview.chromium.org/2592933004/diff/180001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2592933004/diff/180001/src/builtins/builtins-promise.cc#newcode209 src/builtins/builtins-promise.cc:209: Isolate* isolate = this->isolate(); I don't ...
3 years, 11 months ago (2017-01-04 19:19:22 UTC) #40
gsathya
https://codereview.chromium.org/2592933004/diff/180001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2592933004/diff/180001/src/builtins/builtins-promise.cc#newcode209 src/builtins/builtins-promise.cc:209: Isolate* isolate = this->isolate(); On 2017/01/04 19:19:21, adamk wrote: ...
3 years, 11 months ago (2017-01-04 19:37:17 UTC) #43
adamk
still lgtm
3 years, 11 months ago (2017-01-04 22:11:37 UTC) #48
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/2592933004/240001
3 years, 11 months ago (2017-01-04 22:35:24 UTC) #53
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 22:37:07 UTC) #56
Message was sent while issue was closed.
Committed patchset #12 (id:240001) as
https://chromium.googlesource.com/v8/v8/+/79ae8f17442bf61e9655fa8b27d4ddd529c...

Powered by Google App Engine
This is Rietveld 408576698