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

Issue 2180273002: [KeyedLoadIC] Support Smi "handlers" for element loads (Closed)

Created:
4 years, 4 months ago by Jakob Kummerow
Modified:
4 years, 4 months ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@keyed-load-ic-fieldindex
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[KeyedLoadIC] Support Smi "handlers" for element loads This is an experiment as far as performance is concerned. If Smi-configured element loading directly from the dispatcher stub is fast enough, then we can stop compiling LoadFastElementStubs (and drop the corresponding code). Committed: https://crrev.com/c9308147b341596de2733039223918a6202afa5f Cr-Commit-Position: refs/heads/master@{#38377}

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 32

Patch Set 3 : refactor according to review comments #

Total comments: 8

Patch Set 4 : nits #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -34 lines) Patch
M src/code-stub-assembler.h View 1 2 3 4 2 chunks +13 lines, -3 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 3 chunks +244 lines, -13 lines 0 comments Download
M src/field-index.h View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M src/field-index-inl.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M src/ic/handler-compiler.h View 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/ic/handler-compiler.cc View 1 2 3 chunks +14 lines, -5 lines 0 comments Download
A src/ic/handler-configuration.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Jakob Kummerow
PTAL.
4 years, 4 months ago (2016-07-27 13:29:30 UTC) #2
Igor Sheludko
It would be nice to have unit tests for this functionality. https://codereview.chromium.org/2180273002/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): ...
4 years, 4 months ago (2016-07-28 10:01:11 UTC) #3
Jakob Kummerow
Thanks for the review; comments addressed. PTAL. Test coverage through the existing test suite is ...
4 years, 4 months ago (2016-08-03 11:44:12 UTC) #4
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2180273002/diff/40001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2180273002/diff/40001/src/code-stub-assembler.cc#newcode2983 src/code-stub-assembler.cc:2983: Node* int32_key, Node* is_jsarray, int32_key -> ...
4 years, 4 months ago (2016-08-04 12:03:09 UTC) #5
Jakob Kummerow
https://codereview.chromium.org/2180273002/diff/40001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2180273002/diff/40001/src/code-stub-assembler.cc#newcode2983 src/code-stub-assembler.cc:2983: Node* int32_key, Node* is_jsarray, On 2016/08/04 12:03:09, Igor Sheludko ...
4 years, 4 months ago (2016-08-05 11:36:03 UTC) #6
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/2180273002/80001
4 years, 4 months ago (2016-08-05 11:44:45 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-05 12:07:01 UTC) #10
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/c9308147b341596de2733039223918a6202afa5f Cr-Commit-Position: refs/heads/master@{#38377}
4 years, 4 months ago (2016-08-05 12:11:10 UTC) #12
Michael Hablich
4 years, 4 months ago (2016-08-09 06:44:09 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2222273003/ by hablich@chromium.org.

The reason for reverting is: Times out webgl errors:
https://bugs.chromium.org/p/chromium/issues/detail?id=635545.

Powered by Google App Engine
This is Rietveld 408576698