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

Issue 113222: Fix for issue 339 (Closed)

Created:
11 years, 7 months ago by iposva
Modified:
9 years, 4 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Fix for issue 339: - Move GetHiddenProperties functionality from object.cc to handle.cc to be more robust in the presence of GC in the middle of the function. Committed: http://code.google.com/p/v8/source/detail?r=1924

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -42 lines) Patch
M src/handles.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/handles.cc View 1 chunk +29 lines, -1 line 2 comments Download
M src/objects.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/objects.cc View 1 chunk +0 lines, -36 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
iposva
11 years, 7 months ago (2009-05-11 21:19:19 UTC) #1
Kasper Lund
LGTM. Nice test case. http://codereview.chromium.org/113222/diff/1/3 File src/handles.cc (right): http://codereview.chromium.org/113222/diff/1/3#newcode304 Line 304: return Handle<Object>(obj->GetProperty(*key)); I guess ...
11 years, 7 months ago (2009-05-12 05:31:39 UTC) #2
iposva
11 years, 7 months ago (2009-05-12 18:15:05 UTC) #3
http://codereview.chromium.org/113222/diff/1/3
File src/handles.cc (right):

http://codereview.chromium.org/113222/diff/1/3#newcode304
Line 304: return Handle<Object>(obj->GetProperty(*key));
On 2009/05/12 05:31:39, Kasper Lund wrote:
> I guess GetProperty(*key) never returns a failure, so never need to retry. I
> guess you could use GetProperty(obj, key) instead to avoid forcing me to think
> about it.

Done.

Powered by Google App Engine
This is Rietveld 408576698