Reviewers: danno,

Message:
PTAL.

This is a step towards weeding out the differences between descriptors /
transitions / handlers and interceptors.

Description:
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.


Please review this at https://chromiumcodereview.appspot.com/10626004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/lithium-codegen-arm.cc
  M src/arm/stub-cache-arm.cc
  M src/bootstrapper.cc
  M src/hydrogen.cc
  M src/ia32/lithium-codegen-ia32.cc
  M src/ia32/stub-cache-ia32.cc
  M src/ic.cc
  M src/mips/lithium-codegen-mips.cc
  M src/mips/stub-cache-mips.cc
  M src/objects.cc
  M src/property.h
  M src/runtime.cc
  M src/x64/lithium-codegen-x64.cc
  M src/x64/stub-cache-x64.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to