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

Issue 18658: Added handling of hidden prototype objects when collecting local properties f... (Closed)

Created:
11 years, 11 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Added handling of hidden prototype objects when collecting local properties for an object mirror. The property names provided by an object mirror now includes all properties from the object and any hidden prototypes merged together. Changed the name of Runtime_GetPrototype to Runtime_DebugGetPrototype to indicate that it is a debugger related function and changed its implementation to do the correct __proto__ lookup. Added some more information to the Map debug print. Committed: http://code.google.com/p/v8/source/detail?r=1126

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -16 lines) Patch
M src/mirror-delay.js View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M src/objects-debug.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M src/runtime.h View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 1 2 5 chunks +76 lines, -7 lines 0 comments Download
M test/cctest/test-debug.cc View 1 1 chunk +95 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
11 years, 11 months ago (2009-01-22 12:33:05 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/18658/diff/205/207 File src/objects.cc (right): http://codereview.chromium.org/18658/diff/205/207#newcode5700 Line 5700: NumberOfLocalProperties(static_cast<PropertyAttributes>(NONE)) - index); Indentation seems strange here. ...
11 years, 11 months ago (2009-01-22 13:13:05 UTC) #2
Søren Thygesen Gjesse
11 years, 11 months ago (2009-01-22 13:19:52 UTC) #3
http://codereview.chromium.org/18658/diff/205/207
File src/objects.cc (right):

http://codereview.chromium.org/18658/diff/205/207#newcode5700
Line 5700: NumberOfLocalProperties(static_cast<PropertyAttributes>(NONE)) -
index);
On 2009/01/22 13:13:05, Mads Ager wrote:
> Indentation seems strange here.

Done.

http://codereview.chromium.org/18658/diff/205/208
File src/runtime.cc (right):

http://codereview.chromium.org/18658/diff/205/208#newcode4539
Line 4539: // Find the length of the prototype chain that is to to handle as
one. If the
On 2009/01/22 13:13:05, Mads Ager wrote:
> to to handle -> to be handled

Done.

http://codereview.chromium.org/18658/diff/205/208#newcode4540
Line 4540: // a prototype object is hidden it is to be viewed as part of the the
object it
On 2009/01/22 13:13:05, Mads Ager wrote:
> If the a -> If a

Done.

http://codereview.chromium.org/18658/diff/205/208#newcode4744
Line 4744: i == 0 ? 0 : local_property_count[i - 1]);
On 2009/01/22 13:13:05, Mads Ager wrote:
> Indentation seems off here?

Done.

Powered by Google App Engine
This is Rietveld 408576698