v8/include
verwaest@chromium.org 36e91242fd Make Object.freeze fast
This patch both speeds up the freeze operation itself, but also
allows properties to remain in fast mode. Objects with non-empty
elements backing stores still end up with slow elements.

Relanding r14758 and r14759 with fix for Test262: only mark properties
and elements READ_ONLY if they are not JS setter/getters. Tightened up
tests to assert frozen-ness, and added targeted tests for the new code
(covering accessors).

BUG=v8:1858, 115960
R=verwaest@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15691007

Patch from Adam Klein <adamk@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14762 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-05-23 07:05:58 +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 Make Object.freeze fast 2013-05-23 07:05:58 +00:00
v8stdint.h Include what you use in accessors.{h,cc}. 2012-01-25 00:16:07 +00:00