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

Issue 2571663002: [promises] Refactor CreatePromise (Closed)

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

Description

[promises] Refactor CreatePromise BUG=v8:5343 Committed: https://crrev.com/2886e3917f8c6f06707ed130b041d6acf2e95782 Cr-Commit-Position: refs/heads/master@{#41660}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add tests #

Patch Set 3 : add tests #

Patch Set 4 : add promiseset #

Total comments: 1

Patch Set 5 : rename to allocatejspromise #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -31 lines) Patch
M src/builtins/builtins-promise.cc View 1 2 3 4 5 chunks +6 lines, -31 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
gsathya
4 years ago (2016-12-12 23:35:58 UTC) #5
caitp
https://codereview.chromium.org/2571663002/diff/1/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2571663002/diff/1/src/builtins/builtins-promise.cc#newcode62 src/builtins/builtins-promise.cc:62: compiler::Node* CreatePromise(CodeStubAssembler* a, compiler::Node* context) { There are _a ...
4 years ago (2016-12-12 23:41:58 UTC) #6
Dan Ehrenberg
lgtm No opinion on Caitlin's style advice, but correctness-wise, this looks good to me.
4 years ago (2016-12-13 00:10:36 UTC) #11
gsathya
On 2016/12/12 23:41:58, caitp wrote: > https://codereview.chromium.org/2571663002/diff/1/src/builtins/builtins-promise.cc > File src/builtins/builtins-promise.cc (right): > > https://codereview.chromium.org/2571663002/diff/1/src/builtins/builtins-promise.cc#newcode62 > ...
4 years ago (2016-12-13 00:44:19 UTC) #14
caitp
Lgtm https://codereview.chromium.org/2571663002/diff/60001/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2571663002/diff/60001/src/code-stub-assembler.h#newcode1056 src/code-stub-assembler.h:1056: Node* CreatePromise(Node* context); I would suggest using AllocateJSPromise ...
4 years ago (2016-12-13 01:04:58 UTC) #17
gsathya
On 2016/12/13 01:04:58, caitp wrote: > Lgtm > > https://codereview.chromium.org/2571663002/diff/60001/src/code-stub-assembler.h > File src/code-stub-assembler.h (right): > ...
4 years ago (2016-12-13 01:47:17 UTC) #20
caitp
On 2016/12/13 01:47:17, gsathya wrote: > On 2016/12/13 01:04:58, caitp wrote: > > Lgtm > ...
4 years ago (2016-12-13 02:09:07 UTC) #21
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/2571663002/80001
4 years ago (2016-12-13 02:12:13 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-13 02:14:16 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-13 02:15:30 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2886e3917f8c6f06707ed130b041d6acf2e95782
Cr-Commit-Position: refs/heads/master@{#41660}

Powered by Google App Engine
This is Rietveld 408576698