Cleaning up usage of lookup results.
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 21 Jun 2012 15:32:52 +0000 (15:32 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 21 Jun 2012 15:32:52 +0000 (15:32 +0000)
commit1cff0c498e47b5807b9aadeecea88bf7942034bb
treec2516a6bb0e40ddb9b814afe094e910087d7e3f5
parent3e0e042e4ad2ef3a32b892918b26a27a81172daa
Cleaning up usage of lookup results.

- Ensure that IsFound() is only used when not in combination with other
  checks. To do so, the default type is NONEXISTENT rather than NORMAL;
  and NotFound() also resets the type to NONEXISTENT.
- Use test methods rather than .type() == A_PROPERTY_TYPE.

Review URL: https://chromiumcodereview.appspot.com/10626004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11899 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
14 files changed:
src/arm/lithium-codegen-arm.cc
src/arm/stub-cache-arm.cc
src/bootstrapper.cc
src/hydrogen.cc
src/ia32/lithium-codegen-ia32.cc
src/ia32/stub-cache-ia32.cc
src/ic.cc
src/mips/lithium-codegen-mips.cc
src/mips/stub-cache-mips.cc
src/objects.cc
src/property.h
src/runtime.cc
src/x64/lithium-codegen-x64.cc
src/x64/stub-cache-x64.cc