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

Issue 235083004: Introduce Object::DebugGetProperty. (Closed)

Created:
6 years, 8 months ago by Yang
Modified:
6 years, 8 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Introduce Object::DebugGetProperty. R=ulan@chromium.org

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -113 lines) Patch
M src/objects.h View 2 chunks +14 lines, -0 lines 0 comments Download
M src/objects.cc View 1 chunk +19 lines, -32 lines 0 comments Download
M src/objects-inl.h View 1 chunk +42 lines, -0 lines 0 comments Download
M src/runtime.cc View 3 chunks +11 lines, -81 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Yang
6 years, 8 months ago (2014-04-11 14:33:56 UTC) #1
ulan
Are the changes below intended? https://codereview.chromium.org/235083004/diff/1/src/runtime.cc File src/runtime.cc (left): https://codereview.chromium.org/235083004/diff/1/src/runtime.cc#oldcode10750 src/runtime.cc:10750: if (structure->IsForeign() || structure->IsAccessorInfo()) ...
6 years, 8 months ago (2014-04-14 08:39:35 UTC) #2
Yang
6 years, 8 months ago (2014-04-14 09:09:42 UTC) #3
On 2014/04/14 08:39:35, ulan wrote:
> Are the changes below intended?
> 
> https://codereview.chromium.org/235083004/diff/1/src/runtime.cc
> File src/runtime.cc (left):
> 
> https://codereview.chromium.org/235083004/diff/1/src/runtime.cc#oldcode10750
> src/runtime.cc:10750: if (structure->IsForeign() ||
structure->IsAccessorInfo())
> {
> After this change, we no longer check for: structure->IsForeign() ||
> structure->IsAccessorInfo()
> 
> https://codereview.chromium.org/235083004/diff/1/src/runtime.cc#oldcode10769
> src/runtime.cc:10769: return heap->undefined_value();
> After this change, this can return other values.

You are right. I rewrote the entire thing and uploaded it as a separate CL.

Powered by Google App Engine
This is Rietveld 408576698