v8/include
wingo@igalia.com 3f09e0a3d8 Remove separate maps for function instances
ES3 specified that functions created via Function() would have
enumerable prototypes, unlike function literals.  For this reason, V8
has always had two prototypes for functions: "function_map" for
literals, and "function_instance_map" for "function instances": those
functions created by Function().

However, since 2009 or so, both maps have been the same!  Both have had
writable, non-enumerable prototypes.  Moreover, ES5 changed to specify
that function instances would have non-enumerable prototypes.

This patch removes the separate maps for function instances in sloppy
and strict mode.

R=mstarzinger@chromium.org
TEST=mjsunit/function-prototype
BUG=

Review URL: https://codereview.chromium.org/14829005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14619 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-05-10 12:59:20 +00:00
..
v8-debug.h Enable/disable LiveEdit using the (C++) debug API. 2012-09-10 09:24:17 +00:00
v8-preparser.h Fix shared library build of preparser: properly #undef V8EXPORT 2013-04-16 14:55:45 +00:00
v8-profiler.h New GC APIs, try 2. 2013-04-24 15:59:23 +00:00
v8-testing.h Fix building with GCC 3.x 2012-07-26 09:18:09 +00:00
v8.h Remove separate maps for function instances 2013-05-10 12:59:20 +00:00
v8stdint.h Include what you use in accessors.{h,cc}. 2012-01-25 00:16:07 +00:00