Reviewers: Kevin Millikin, Description: A first skeleton for introducing Harmony proxies.
1) Add new type JSProxy for representing proxy objects. Currently devoid of functionality, i.e., all properties are undefined. 2) Some rudimentary global $Proxy functions to create proxies. Next step: Hook up getProperty and getOwnProperty handlers. Will probably require introducing a new LookupResult type, which is a mixture of INTERCEPTOR (handles any property) and CALLBACK (calls back to JS). Can we unify this somehow? TODO: Should probably rename existing Proxy type to something like "Foreign", to avoid confusion. Please review this at http://codereview.chromium.org/6932068/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M include/v8.h M src/bootstrapper.cc M src/factory.h M src/factory.cc M src/heap.h M src/heap.cc M src/ia32/frames-ia32.h M src/objects-debug.cc M src/objects-inl.h M src/objects-printer.cc M src/objects-visiting.cc M src/objects.h M src/objects.cc M src/proxy.js M src/runtime.h M src/runtime.cc M src/runtime.js -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
