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

Issue 7795055: Make integer indexed properties ("elements") work for proxies. (Closed)

Created:
9 years, 3 months ago by rossberg
Modified:
9 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make integer indexed properties ("elements") work for proxies. Rehome some Object/JSReceiver/JSObject methods. R=ricow@chromium.org,kmillikin@chromium.org BUG=v8:1543 TEST= Committed: http://code.google.com/p/v8/source/detail?r=9381

Patch Set 1 #

Patch Set 2 : Corrected diff base. #

Total comments: 18

Patch Set 3 : Addressed Rico's comments. #

Patch Set 4 : Fixed weird c&p typo. #

Total comments: 6

Patch Set 5 : Fixed line lengths. #

Patch Set 6 : Oops. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -112 lines) Patch
M src/factory.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/factory.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/heap.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 5 chunks +29 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 13 chunks +174 lines, -58 lines 0 comments Download
M src/objects-inl.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 2 4 chunks +20 lines, -20 lines 0 comments Download
M src/runtime.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/harmony/proxies.js View 1 2 3 24 chunks +71 lines, -30 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rossberg
9 years, 3 months ago (2011-09-07 15:58:50 UTC) #1
Rico
LGTM http://codereview.chromium.org/7795055/diff/3001/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/7795055/diff/3001/src/objects.cc#newcode2301 src/objects.cc:2301: "getOwnPropertyDescriptor", Handle<Object>(), ARRAY_SIZE(args), args); 4 space indention http://codereview.chromium.org/7795055/diff/3001/src/objects.cc#newcode2307 ...
9 years, 3 months ago (2011-09-12 11:21:17 UTC) #2
rossberg
PTAL I have added a call to to_complete_object_descriptor that was missing before, and added a ...
9 years, 3 months ago (2011-09-13 16:10:24 UTC) #3
Rico
LGTM http://codereview.chromium.org/7795055/diff/14001/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/7795055/diff/14001/src/objects.cc#newcode2320 src/objects.cc:2320: Handle<Object> args[] = { Handle<Object>(proxy->handler()), proxy, hname }; ...
9 years, 3 months ago (2011-09-14 11:26:50 UTC) #4
rossberg
9 years, 3 months ago (2011-09-15 09:00:12 UTC) #5
http://codereview.chromium.org/7795055/diff/14001/src/objects.cc
File src/objects.cc (right):

http://codereview.chromium.org/7795055/diff/14001/src/objects.cc#newcode2320
src/objects.cc:2320: Handle<Object> args[] = { Handle<Object>(proxy->handler()),
proxy, hname };
On 2011/09/14 11:26:50, Rico wrote:
> Long line

Done.

http://codereview.chromium.org/7795055/diff/14001/src/objects.cc#newcode2417
src/objects.cc:2417: Handle<String> enum_name =
isolate->factory()->LookupAsciiSymbol("enumerable_");
On 2011/09/14 11:26:50, Rico wrote:
> Long line

Done.

http://codereview.chromium.org/7795055/diff/14001/src/objects.cc#newcode2420
src/objects.cc:2420: Handle<String> conf_name =
isolate->factory()->LookupAsciiSymbol("configurable_");
On 2011/09/14 11:26:50, Rico wrote:
> Long line

Done.

Powered by Google App Engine
This is Rietveld 408576698