[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, 1 Mar 2012 11:03:38 +0000 (12:03 +0100)
commit0f5a90b8861ce6c189fc980154ec14a85e2a4c13
tree6dd3af30f19551187d9e177b321b48843f1a54c4
parent12e4cc3374cb04e99ec28c67e61dd3be865344b9
[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: Ibbd0a6b3ad4bd68a8d15ce99520e71c46ad14f84
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
src/3rdparty/v8/include/v8.h
src/3rdparty/v8/src/api.cc
src/3rdparty/v8/src/factory.cc
src/3rdparty/v8/src/handles.cc
src/3rdparty/v8/src/handles.h
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