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

Issue 119172: Fix the issue with layout tests.... (Closed)

Created:
11 years, 6 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix the issue with layout tests. The problem was I incorrectly treated NULL result as failure to fetch a property with a getter. However, if getter returns zero, it is manifested as NULL pointer (see added test case). Good news: that gives another boost as before this CL if getter returned 0, I did another slow lookup. Committed: http://code.google.com/p/v8/source/detail?r=2106

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -36 lines) Patch
M src/objects.h View 1 1 chunk +7 lines, -3 lines 0 comments Download
M src/objects.cc View 1 4 chunks +21 lines, -9 lines 0 comments Download
M test/cctest/test-api.cc View 1 8 chunks +40 lines, -24 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
antonm
11 years, 6 months ago (2009-06-04 11:35:56 UTC) #1
Kasper Lund
LGTM. http://codereview.chromium.org/119172/diff/1/4 File src/objects.h (right): http://codereview.chromium.org/119172/diff/1/4#newcode1551 Line 1551: bool GetPropertyWithInterceptorProper(JSObject* receiver, It might be nice ...
11 years, 6 months ago (2009-06-04 12:29:26 UTC) #2
antonm
Tnx a lot, Kasper. http://codereview.chromium.org/119172/diff/1/4 File src/objects.h (right): http://codereview.chromium.org/119172/diff/1/4#newcode1551 Line 1551: bool GetPropertyWithInterceptorProper(JSObject* receiver, On ...
11 years, 6 months ago (2009-06-04 13:40:41 UTC) #3
Mads Ager (chromium)
11 years, 6 months ago (2009-06-04 19:06:19 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698