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

Issue 2728293005: [ic] Completely unroll polymorphic IC map checks (Closed)

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

Description

[ic] Completely unroll polymorphic IC map checks Polymorphic IC feedback can contain up to four (map, handler) pairs. HandlePolymorphicCase already unrolled checks for the first two pairs; these are guaranteed to exist and can omit bound checks. This CL unrolls checks against the final two pairs as well. BUG=v8:5917 Review-Url: https://codereview.chromium.org/2728293005 Cr-Commit-Position: refs/heads/master@{#43650} Committed: https://chromium.googlesource.com/v8/v8/+/3c246db781fa78bca43fa668c1ba0c83c141d2ef

Patch Set 1 #

Total comments: 1

Patch Set 2 : Change HandlePolymorphicCase to take a min_feedback_capacity #

Total comments: 1

Patch Set 3 : Remove assert for maximal size #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -10 lines) Patch
M src/ic/accessor-assembler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ic/accessor-assembler.cc View 1 2 4 chunks +26 lines, -8 lines 2 comments Download
M src/ic/ic.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/ic/ic.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (14 generated)
jgruber
3 years, 9 months ago (2017-03-07 12:31:28 UTC) #4
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/2728293005/diff/1/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2728293005/diff/1/src/ic/accessor-assembler.cc#newcode77 src/ic/accessor-assembler.cc:77: Node* length = LoadAndUntagFixedArrayBaseLength(feedback); We ...
3 years, 9 months ago (2017-03-07 13:24:01 UTC) #7
jgruber
https://codereview.chromium.org/2728293005/diff/20001/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2728293005/diff/20001/src/ic/accessor-assembler.cc#newcode61 src/ic/accessor-assembler.cc:61: int min_feedback_capacity) { As discussed offline, not all code ...
3 years, 9 months ago (2017-03-07 15:22:29 UTC) #12
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/2728293005/diff/40001/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2728293005/diff/40001/src/ic/accessor-assembler.cc#newcode107 src/ic/accessor-assembler.cc:107: Node* end_index = LoadAndUntagFixedArrayBaseLength(feedback); SmiUntag(length)?
3 years, 9 months ago (2017-03-07 16:28:12 UTC) #15
Igor Sheludko
https://codereview.chromium.org/2728293005/diff/40001/src/ic/accessor-assembler.cc File src/ic/accessor-assembler.cc (right): https://codereview.chromium.org/2728293005/diff/40001/src/ic/accessor-assembler.cc#newcode107 src/ic/accessor-assembler.cc:107: Node* end_index = LoadAndUntagFixedArrayBaseLength(feedback); On 2017/03/07 16:28:12, Igor Sheludko ...
3 years, 9 months ago (2017-03-07 16:30:30 UTC) #16
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/2728293005/40001
3 years, 9 months ago (2017-03-07 16:55:31 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 16:57:14 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/3c246db781fa78bca43fa668c1ba0c83c14...

Powered by Google App Engine
This is Rietveld 408576698