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

Issue 48913008: Remove calls to JSObject::SetLocalPropertyIgnoreAttributesTrampoline within objects.cc (Closed)

Created:
7 years, 1 month ago by rafaelw
Modified:
7 years, 1 month ago
Reviewers:
Michael Starzinger
CC:
v8-dev, rossberg
Base URL:
https://github.com/v8/v8.git@bleeding_edge
Visibility:
Public.

Description

Remove calls to JSObject::SetLocalPropertyIgnoreAttributesTrampoline within objects.cc This includes handlifing: -SetHiddenPropertiesHashTable -ObjectHashSet::Add/Remove -ObjectHashTable::Put And splitting the following methods which previously took "allow creation" enum arguments to into side-effect-free getters and GetOrCreate*-handlfied getters. -GetHash (now GetHash & handlified GetOrCreateHash) -GetIdentityHash (now GetIdentityHash & handlified GetOrCreateIdentityHash) -GetHiddenPropertiesHashTable (now GetHiddenPropertiesHashTable & handlified GetOrCreateaHiddenPropertiesHashTable) BUG=v8:2877 R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17477

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : sync #

Patch Set 4 : re-enable test #

Patch Set 5 : moar #

Total comments: 15

Patch Set 6 : cr cahnges #

Patch Set 7 : moar #

Patch Set 8 : ready #

Total comments: 14

Patch Set 9 : cr comments #

Patch Set 10 : moar #

Patch Set 11 : last one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -286 lines) Patch
M src/api.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M src/factory.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/factory.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M src/handles.h View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
M src/handles.cc View 1 2 3 4 5 1 chunk +0 lines, -25 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 12 chunks +70 lines, -41 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 14 chunks +210 lines, -176 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 2 chunks +12 lines, -7 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 chunks +6 lines, -6 lines 0 comments Download
M src/v8globals.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-dictionary.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +19 lines, -13 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-weakmaps.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-weaksets.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
rafaelw
Michael, I went ahead a took a crack at this. This isn't really ready for ...
7 years, 1 month ago (2013-10-29 05:30:23 UTC) #1
rafaelw
Ok. Ready for review. PTAL. https://codereview.chromium.org/48913008/diff/100001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/48913008/diff/100001/src/objects.h#newcode4068 src/objects.h:4068: static Handle<ObjectHashSet> EnsureSetCapacity( Note ...
7 years, 1 month ago (2013-10-29 19:14:51 UTC) #2
Michael Starzinger
Looking good already. Just a couple of minor comments. https://codereview.chromium.org/48913008/diff/100001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/48913008/diff/100001/src/objects.h#newcode1515 src/objects.h:1515: ...
7 years, 1 month ago (2013-11-04 10:29:10 UTC) #3
rafaelw
https://codereview.chromium.org/48913008/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/48913008/diff/100001/src/objects.cc#newcode15764 src/objects.cc:15764: new_table->set(table->EntryToIndex(entry), *key); One question, this probably doesn't matter, but ...
7 years, 1 month ago (2013-11-04 10:58:06 UTC) #4
Michael Starzinger
https://codereview.chromium.org/48913008/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/48913008/diff/100001/src/objects.cc#newcode15764 src/objects.cc:15764: new_table->set(table->EntryToIndex(entry), *key); On 2013/11/04 10:58:06, rafaelw wrote: > One ...
7 years, 1 month ago (2013-11-04 13:46:41 UTC) #5
rafaelw
PTAL https://codereview.chromium.org/48913008/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/48913008/diff/100001/src/objects.cc#newcode15764 src/objects.cc:15764: new_table->set(table->EntryToIndex(entry), *key); That makes sense. The enclosing methods ...
7 years, 1 month ago (2013-11-04 15:12:00 UTC) #6
Michael Starzinger
LGTM, just a couple of nits. https://codereview.chromium.org/48913008/diff/170002/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/48913008/diff/170002/src/objects.cc#newcode4802 src/objects.cc:4802: JSObject::SetHiddenProperty( nit: The ...
7 years, 1 month ago (2013-11-04 17:58:58 UTC) #7
rafaelw
https://codereview.chromium.org/48913008/diff/170002/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/48913008/diff/170002/src/objects.cc#newcode4802 src/objects.cc:4802: JSObject::SetHiddenProperty( On 2013/11/04 17:58:58, Michael Starzinger wrote: > nit: ...
7 years, 1 month ago (2013-11-05 09:56:54 UTC) #8
rafaelw
7 years, 1 month ago (2013-11-05 11:47:22 UTC) #9
Message was sent while issue was closed.
Committed patchset #11 manually as r17477 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698