[V8] Add a "fallback" mode for named property interceptors
authorAaron Kennedy <aaron.kennedy@nokia.com>
Thu, 27 Oct 2011 10:31:56 +0000 (11:31 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Apr 2012 06:56:06 +0000 (08:56 +0200)
commit281fbf4fe599f7e864e4ac0c1fda1b82292849cd
treeef031f180eba84aa6390024656dcb81bf86fc272
parentf5242c7aec481e9942665474a4148769f4798d77
[V8] Add a "fallback" mode for named property interceptors

By default interceptors are called before the normal property
resolution on objects.  When an interceptor is installed as a
"fallback" interceptor, it is only called if the object doesn't
already have the property.

In the case of a global object having an fallback interceptor,
the interceptor is not invoked at all for var or function
declarations.

Change-Id: Ia8c2b4d37070c97d9ef327da9e62d431427afe89
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/3rdparty/v8/include/v8.h
src/3rdparty/v8/src/api.cc
src/3rdparty/v8/src/factory.cc
src/3rdparty/v8/src/objects-inl.h
src/3rdparty/v8/src/objects.cc
src/3rdparty/v8/src/objects.h
src/3rdparty/v8/src/runtime.cc