• adamk's avatar
    Optimize Object.seal and Object.preventExtensions · 4fa7ae1c
    adamk authored
    They both now run fast (due to utilizing transitions instead of always
    creating new maps) and sealed or non-extensible objects can stay in
    fast mode after transitioning.
    
    This almost entirely reuses the code for transitioning objects
    frozen by Object.freeze(), with the added benefit of freeing
    up a bit on the map (we no longer keep track of frozen-ness,
    as that bit wasn't used for anything interesting).
    
    BUG=v8:3662,chromium:115960
    LOG=y
    
    Review URL: https://codereview.chromium.org/776143005
    
    Cr-Commit-Position: refs/heads/master@{#25759}
    4fa7ae1c
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD.gn 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...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...