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

Issue 352813002: Wrap InitializeProperty around SetOwnPropertyIgnoreAttributes and switch over uses (Closed)

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

Description

Wrap InitializeProperty around SetOwnPropertyIgnoreAttributes and switch over uses This is a step in the direction of disentangling all uses of SetOwnPropertyIgnoreAttributes so we can provide a more specific implementation for those usecases, and reduce the capabilities of those clients, avoiding subtle bugs. InitializeProperty only supports adding properties to extensible objects that do not contain the property yet. JSGlobalProxies cannot have properties themselves, so are not supported either. BUG= R=rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22095

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -112 lines) Patch
M src/bootstrapper.cc View 1 9 chunks +17 lines, -26 lines 0 comments Download
M src/factory.cc View 1 2 chunks +14 lines, -9 lines 0 comments Download
M src/isolate.cc View 1 2 chunks +14 lines, -18 lines 0 comments Download
M src/objects.h View 1 2 chunks +8 lines, -1 line 0 comments Download
M src/objects.cc View 1 6 chunks +31 lines, -14 lines 0 comments Download
M src/runtime.cc View 1 8 chunks +24 lines, -44 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Toon Verwaest
PTAL
6 years, 6 months ago (2014-06-25 11:52:04 UTC) #1
rossberg
https://codereview.chromium.org/352813002/diff/1/src/bootstrapper.cc File src/bootstrapper.cc (left): https://codereview.chromium.org/352813002/diff/1/src/bootstrapper.cc#oldcode1266 src/bootstrapper.cc:1266: JSObject::SetOwnPropertyIgnoreAttributes( Hm, why can this call just be dropped? ...
6 years, 5 months ago (2014-06-27 10:51:02 UTC) #2
Toon Verwaest
Addressed comments and rebased. PTAL again. https://codereview.chromium.org/352813002/diff/1/src/bootstrapper.cc File src/bootstrapper.cc (left): https://codereview.chromium.org/352813002/diff/1/src/bootstrapper.cc#oldcode1266 src/bootstrapper.cc:1266: JSObject::SetOwnPropertyIgnoreAttributes( On 2014/06/27 ...
6 years, 5 months ago (2014-06-30 11:39:39 UTC) #3
rossberg
lgtm
6 years, 5 months ago (2014-06-30 12:19:49 UTC) #4
Toon Verwaest
6 years, 5 months ago (2014-06-30 13:49:16 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r22095 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698