• verwaest@chromium.org's avatar
    Make Object.freeze fast · 36e91242
    verwaest@chromium.org authored
    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
    36e91242
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...