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

Issue 2596553002: [promises] Move Promise.prototype.catch to TF (Closed)

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

Description

[promises] Move Promise.prototype.catch to TF This patch also refactors most of PromiseThen into InternalPromiseThen to be reused with PromiseCatch and also changes InternalResolvePromise to return and not branch. BUG=v8:5343 Review-Url: https://codereview.chromium.org/2596553002 Cr-Commit-Position: refs/heads/master@{#41902} Committed: https://chromium.googlesource.com/v8/v8/+/2041c504025d706041e50e52d9e8c7221667492d

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : install catch to context #

Patch Set 4 : revert changes to test #

Total comments: 4

Patch Set 5 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -87 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 1 chunk +6 lines, -7 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-promise.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/builtins/builtins-promise.cc View 1 2 3 4 12 chunks +111 lines, -67 lines 0 comments Download
M src/js/promise.js View 1 2 3 4 2 chunks +0 lines, -9 lines 0 comments Download
M test/mjsunit/harmony/async-await-species.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (28 generated)
gsathya
4 years ago (2016-12-20 19:46:18 UTC) #9
jgruber
lgtm with nits https://codereview.chromium.org/2596553002/diff/60001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2596553002/diff/60001/src/builtins/builtins-promise.cc#newcode595 src/builtins/builtins-promise.cc:595: return; Nit: Please remove this. https://codereview.chromium.org/2596553002/diff/60001/src/builtins/builtins-promise.cc#newcode1004 ...
4 years ago (2016-12-21 06:55:29 UTC) #20
gsathya
Thanks! https://codereview.chromium.org/2596553002/diff/60001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2596553002/diff/60001/src/builtins/builtins-promise.cc#newcode595 src/builtins/builtins-promise.cc:595: return; On 2016/12/21 06:55:29, jgruber wrote: > Nit: ...
4 years ago (2016-12-21 17:27:55 UTC) #23
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/2596553002/80001
4 years ago (2016-12-21 18:05:22 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/31204)
4 years ago (2016-12-21 18:08:51 UTC) #30
Igor Sheludko
lgtm
4 years ago (2016-12-21 18:10:05 UTC) #32
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/2596553002/80001
4 years ago (2016-12-21 18:10:11 UTC) #33
commit-bot: I haz the power
4 years ago (2016-12-21 18:12:16 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/2041c504025d706041e50e52d9e8c722166...

Powered by Google App Engine
This is Rietveld 408576698