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

Issue 647015: Remove the LookupResult IsValid method because it is confusing.... (Closed)

Created:
10 years, 10 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove the LookupResult IsValid method because it is confusing. Replaced IsValid by IsPropertyOrTransition and used IsProperty in most of the places where IsValid was used before. Most of the time when inspecting a lookup result we really want to know if there is a real property present. Only for stores are we interested in transitions. BUG=http://crbug.com/20104 TEST=cctest/test-api/NamedInterceptorMapTransitionRead Committed: http://code.google.com/p/v8/source/detail?r=3901

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -132 lines) Patch
M src/api.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/bootstrapper.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/fast-codegen.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/ic.cc View 1 13 chunks +18 lines, -17 lines 0 comments Download
M src/objects.cc View 1 29 chunks +60 lines, -82 lines 0 comments Download
M src/property.h View 1 2 chunks +12 lines, -15 lines 0 comments Download
M src/property.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/stub-cache.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/x64/stub-cache-x64.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mads Ager (chromium)
10 years, 10 months ago (2010-02-18 13:09:42 UTC) #1
Søren Thygesen Gjesse
LGTM Nice cleanup! http://codereview.chromium.org/647015/diff/1/6 File src/bootstrapper.cc (right): http://codereview.chromium.org/647015/diff/1/6#newcode1326 src/bootstrapper.cc:1326: Not related to your change, but ...
10 years, 10 months ago (2010-02-18 14:07:41 UTC) #2
Mads Ager (chromium)
Thanks Søren. Nice catch with the null descriptors! http://codereview.chromium.org/647015/diff/1/6 File src/bootstrapper.cc (right): http://codereview.chromium.org/647015/diff/1/6#newcode1326 src/bootstrapper.cc:1326: On ...
10 years, 10 months ago (2010-02-18 15:05:24 UTC) #3
dglazkov
10 years, 10 months ago (2010-02-18 15:38:44 UTC) #4
Awesome! Thanks, guys!

Powered by Google App Engine
This is Rietveld 408576698