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

Issue 2567033003: [promises] Port CreateResolvingFunctions to TF (Closed)

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

Description

[promises] Port CreateResolvingFunctions to TF 2% improvement on benchmarks over 5 runs. BUG=v8:5343 Review-Url: https://codereview.chromium.org/2567033003 Cr-Commit-Position: refs/heads/master@{#41827} Committed: https://chromium.googlesource.com/v8/v8/+/cc7e0b0eff7b26f784b834247fc89e9fe3b13213

Patch Set 1 #

Patch Set 2 : add tests #

Total comments: 23

Patch Set 3 : cleanup #

Total comments: 12

Patch Set 4 : rebase #

Patch Set 5 : Remove unused header #

Total comments: 6

Patch Set 6 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -22 lines) Patch
M src/builtins/builtins.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins-promise.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/builtins/builtins-promise.cc View 1 2 3 3 chunks +73 lines, -21 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 2 chunks +37 lines, -0 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 2 3 2 chunks +103 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (24 generated)
gsathya
4 years ago (2016-12-13 07:44:39 UTC) #11
jgruber
lgtm % comments https://codereview.chromium.org/2567033003/diff/20001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2567033003/diff/20001/src/builtins/builtins-promise.cc#newcode59 src/builtins/builtins-promise.cc:59: a.StoreFixedArrayElement(arr, 0, resolve); We can skip ...
4 years ago (2016-12-13 10:44:05 UTC) #12
gsathya
https://codereview.chromium.org/2567033003/diff/20001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2567033003/diff/20001/src/builtins/builtins-promise.cc#newcode59 src/builtins/builtins-promise.cc:59: a.StoreFixedArrayElement(arr, 0, resolve); On 2016/12/13 10:44:04, jgruber wrote: > ...
4 years ago (2016-12-13 13:01:47 UTC) #15
jgruber
https://codereview.chromium.org/2567033003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2567033003/diff/20001/src/code-stub-assembler.cc#newcode8226 src/code-stub-assembler.cc:8226: Node* CodeStubAssembler::AllocateFunctionWithMapAndContext(Node* map, On 2016/12/13 13:01:46, gsathya wrote: > ...
4 years ago (2016-12-13 13:20:52 UTC) #16
gsathya
https://codereview.chromium.org/2567033003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2567033003/diff/20001/src/code-stub-assembler.cc#newcode8226 src/code-stub-assembler.cc:8226: Node* CodeStubAssembler::AllocateFunctionWithMapAndContext(Node* map, On 2016/12/13 13:20:52, jgruber wrote: > ...
4 years ago (2016-12-13 13:29:33 UTC) #19
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2567033003/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2567033003/diff/20001/src/code-stub-assembler.cc#newcode8226 src/code-stub-assembler.cc:8226: Node* CodeStubAssembler::AllocateFunctionWithMapAndContext(Node* map, On 2016/12/13 13:29:33, ...
4 years ago (2016-12-13 23:42:35 UTC) #21
caitp
lgtm
4 years ago (2016-12-13 23:48:35 UTC) #22
gsathya
https://codereview.chromium.org/2567033003/diff/40001/src/builtins/builtins-promise.cc File src/builtins/builtins-promise.cc (right): https://codereview.chromium.org/2567033003/diff/40001/src/builtins/builtins-promise.cc#newcode57 src/builtins/builtins-promise.cc:57: Node* const kSize = a.Int32Constant(2); On 2016/12/13 23:42:34, Igor ...
4 years ago (2016-12-19 20:12:43 UTC) #23
gsathya
+hannes Hannes, PTAL @ CodeStubAssembler::AllocateFunctionWithMapAndContext -- https://codereview.chromium.org/2567033003/diff/80001/src/code-stub-assembler.cc Do I need to mark this code entry ...
4 years ago (2016-12-19 20:18:56 UTC) #25
Igor Sheludko
lgtm with nits: As long as the object is allocated in new space we don't ...
4 years ago (2016-12-19 20:33:33 UTC) #26
gsathya
thanks for the reviews! https://codereview.chromium.org/2567033003/diff/80001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2567033003/diff/80001/src/code-stub-assembler.cc#newcode8304 src/code-stub-assembler.cc:8304: Node* const code_entry = BitcastWordToTagged( ...
4 years ago (2016-12-19 22:19:12 UTC) #31
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/2567033003/100001
4 years ago (2016-12-19 22:19:39 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-19 22:21:43 UTC) #37
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/cc7e0b0eff7b26f784b834247fc89e9fe3b...

Powered by Google App Engine
This is Rietveld 408576698