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

Issue 2455953002: [ic] Remove unnecessary access rights checks from the IC handlers. (Closed)

Created:
4 years, 1 month ago by Igor Sheludko
Modified:
4 years, 1 month ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Remove unnecessary access rights checks from the IC handlers. The reasons are: 1) Type feedback vectors are not shared between different native contexts and therefore the IC handler created for one native context will not be reused in other native context. 2) Access rights revocation is not supported at all, therefore given (1) once we pass the access check we don't have to check access rights again. BUG=v8:5561 Committed: https://crrev.com/8ba4af44eaa10944b99b40bc02f010eb5f432263 Cr-Commit-Position: refs/heads/master@{#40627}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing comments and rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -916 lines) Patch
M src/arm/macro-assembler-arm.h View 1 chunk +0 lines, -7 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 chunk +0 lines, -84 lines 0 comments Download
M src/arm64/macro-assembler-arm64.h View 1 chunk +0 lines, -8 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 chunk +0 lines, -73 lines 0 comments Download
M src/bailout-reason.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 chunk +0 lines, -73 lines 0 comments Download
M src/ic/arm/handler-compiler-arm.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M src/ic/ic.cc View 1 3 chunks +5 lines, -9 lines 0 comments Download
M src/ic/mips/handler-compiler-mips.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M src/ic/ppc/handler-compiler-ppc.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M src/ic/s390/handler-compiler-s390.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M src/ic/x87/handler-compiler-x87.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 chunk +0 lines, -7 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 chunk +0 lines, -79 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 chunk +0 lines, -7 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 chunk +0 lines, -79 lines 0 comments Download
M src/ppc/macro-assembler-ppc.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/ppc/macro-assembler-ppc.cc View 1 chunk +0 lines, -84 lines 0 comments Download
M src/s390/macro-assembler-s390.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/s390/macro-assembler-s390.cc View 1 chunk +0 lines, -81 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +0 lines, -8 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 chunk +0 lines, -76 lines 0 comments Download
M src/x87/macro-assembler-x87.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/x87/macro-assembler-x87.cc View 1 chunk +0 lines, -73 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +0 lines, -9 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (14 generated)
Igor Sheludko
PTAL
4 years, 1 month ago (2016-10-27 10:11:57 UTC) #5
Jakob Kummerow
Awesome! LGTM if you can make that test pass. https://codereview.chromium.org/2455953002/diff/1/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (left): https://codereview.chromium.org/2455953002/diff/1/src/ia32/macro-assembler-ia32.cc#oldcode1311 src/ia32/macro-assembler-ia32.cc:1311: ...
4 years, 1 month ago (2016-10-27 11:37:21 UTC) #8
Igor Sheludko
https://codereview.chromium.org/2455953002/diff/1/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (left): https://codereview.chromium.org/2455953002/diff/1/src/ia32/macro-assembler-ia32.cc#oldcode1311 src/ia32/macro-assembler-ia32.cc:1311: Check(not_equal, kWeShouldNotHaveAnEmptyLexicalContext); On 2016/10/27 11:37:21, Jakob Kummerow wrote: > ...
4 years, 1 month ago (2016-10-27 14:57:15 UTC) #9
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/2455953002/20001
4 years, 1 month ago (2016-10-27 15:51:46 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-27 15:53:51 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:15:50 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8ba4af44eaa10944b99b40bc02f010eb5f432263
Cr-Commit-Position: refs/heads/master@{#40627}

Powered by Google App Engine
This is Rietveld 408576698