Remove the LookupResult IsValid method because it is confusing.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 18 Feb 2010 15:10:35 +0000 (15:10 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 18 Feb 2010 15:10:35 +0000 (15:10 +0000)
commit806c15e4b56af0d0c0ee6126980560dd3db99c0a
tree317fd3263940aa81b714b755ce5b380a14fd2a15
parent0d6fe0a44f59cba02be26d8c124d7d9e4958f2f3
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
Review URL: http://codereview.chromium.org/647015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3901 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
src/api.cc
src/arm/stub-cache-arm.cc
src/bootstrapper.cc
src/fast-codegen.cc
src/ia32/stub-cache-ia32.cc
src/ic.cc
src/objects.cc
src/property.cc
src/property.h
src/runtime.cc
src/stub-cache.cc
src/x64/stub-cache-x64.cc
test/cctest/test-api.cc