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

Issue 331693006: Remove specialized access checks and overwrites altogether. They are already handled by GetOwnPrope… (Closed)

Created:
6 years, 6 months ago by Toon Verwaest
Modified:
6 years, 6 months ago
Reviewers:
dcarney
CC:
v8-dev
Visibility:
Public.

Description

Remove specialized access checks and overwrites altogether. They are already handled by GetOwnPropertyAttributes (and GetPropertyAttributesWithFailedAccessChecks) BUG= R=dcarney@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21922

Patch Set 1 #

Patch Set 2 : Use LookupIterator to get the value #

Patch Set 3 : More cleanup #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : Remove test #

Patch Set 6 : Unlike GetProperty, GetPropertyAttributes does not promote the exception #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -132 lines) Patch
M src/objects.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 2 chunks +48 lines, -99 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Toon Verwaest
PTAL. On closer inspection, we don't need any of this code anymore. I changed to ...
6 years, 6 months ago (2014-06-16 17:09:00 UTC) #1
Toon Verwaest
https://codereview.chromium.org/331693006/diff/40001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/331693006/diff/40001/src/runtime.cc#newcode1952 src/runtime.cc:1952: ASSIGN_RETURN_ON_EXCEPTION( I'd avoid rewalking by using the LookupIterator, but ...
6 years, 6 months ago (2014-06-16 17:26:14 UTC) #2
Toon Verwaest
I removed the part of the test anyway. It was necessary to ensure it's also ...
6 years, 6 months ago (2014-06-16 18:23:21 UTC) #3
dcarney
lgtm
6 years, 6 months ago (2014-06-23 09:03:15 UTC) #4
Toon Verwaest
6 years, 6 months ago (2014-06-23 09:11:54 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 manually as r21922 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698