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

Issue 2630593004: [promises] Remove runtime call from fastpath in PromiseReject (Closed)

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

Description

[promises] Remove runtime call from PromiseReject Also moves some functions to prologue.js BUG=v8:5343 Review-Url: https://codereview.chromium.org/2630593004 Cr-Commit-Position: refs/heads/master@{#42417} Committed: https://chromium.googlesource.com/v8/v8/+/2fd434160a2d554ef230449942ff0c99151a4c22

Patch Set 1 #

Patch Set 2 : more cleanup #

Total comments: 11

Patch Set 3 : fixes #

Total comments: 6

Patch Set 4 : add comment #

Total comments: 2

Patch Set 5 : split function #

Total comments: 4

Patch Set 6 : remove helper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -99 lines) Patch
M src/api.cc View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M src/bootstrapper.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins/builtins-promise.h View 1 2 3 4 5 3 chunks +21 lines, -16 lines 0 comments Download
M src/builtins/builtins-promise.cc View 1 2 3 4 5 6 chunks +60 lines, -7 lines 0 comments Download
M src/contexts.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M src/js/async-await.js View 1 chunk +1 line, -1 line 0 comments Download
M src/js/prologue.js View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M src/js/promise.js View 1 3 chunks +0 lines, -20 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M src/runtime/runtime-promise.cc View 1 2 chunks +10 lines, -50 lines 0 comments Download

Messages

Total messages: 40 (29 generated)
gsathya
3 years, 11 months ago (2017-01-13 20:00:34 UTC) #5
adamk
I find the CL description a little confusing, as there are still runtime calls in ...
3 years, 11 months ago (2017-01-13 20:31:33 UTC) #8
gsathya
updated cl title, lmk if this is clearer? https://codereview.chromium.org/2630593004/diff/20001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2630593004/diff/20001/src/bootstrapper.cc#newcode1977 src/bootstrapper.cc:1977: Builtins::kInternalPromiseReject, ...
3 years, 11 months ago (2017-01-13 21:12:40 UTC) #12
adamk
lgtm but I defer to ishell for the innards of TF builtins. https://codereview.chromium.org/2630593004/diff/20001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc ...
3 years, 11 months ago (2017-01-13 21:43:37 UTC) #13
gsathya
https://codereview.chromium.org/2630593004/diff/40001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2630593004/diff/40001/src/api.cc#newcode7271 src/api.cc:7271: isolate->factory()->ToBoolean(true)}; On 2017/01/13 21:43:37, adamk wrote: > Please add ...
3 years, 11 months ago (2017-01-13 22:34:46 UTC) #17
Igor Sheludko
nit: https://codereview.chromium.org/2630593004/diff/60001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2630593004/diff/60001/src/builtins/builtins-promise.cc#newcode1007 src/builtins/builtins-promise.cc:1007: InternalPromiseReject(context, promise, value, debug_event); This is the only ...
3 years, 11 months ago (2017-01-16 11:43:18 UTC) #22
gsathya
https://codereview.chromium.org/2630593004/diff/60001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2630593004/diff/60001/src/builtins/builtins-promise.cc#newcode1007 src/builtins/builtins-promise.cc:1007: InternalPromiseReject(context, promise, value, debug_event); On 2017/01/16 11:43:18, Igor Sheludko ...
3 years, 11 months ago (2017-01-17 06:33:18 UTC) #26
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/2630593004/diff/100001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2630593004/diff/100001/src/builtins/builtins-promise.cc#newcode944 src/builtins/builtins-promise.cc:944: void PromiseBuiltinsAssembler::InternalPromiseReject(Node* context, I think ...
3 years, 11 months ago (2017-01-17 11:54:14 UTC) #29
gsathya
https://codereview.chromium.org/2630593004/diff/100001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2630593004/diff/100001/src/builtins/builtins-promise.cc#newcode944 src/builtins/builtins-promise.cc:944: void PromiseBuiltinsAssembler::InternalPromiseReject(Node* context, On 2017/01/17 11:54:13, Igor Sheludko wrote: ...
3 years, 11 months ago (2017-01-17 14:51:34 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/2630593004/120001
3 years, 11 months ago (2017-01-17 15:29:55 UTC) #37
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 15:31:56 UTC) #40
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/2fd434160a2d554ef230449942ff0c99151...

Powered by Google App Engine
This is Rietveld 408576698