• lrn@chromium.org's avatar
    Avoid size increase of snapshot. · 2c8680cc
    lrn@chromium.org authored
    The prototype of builtin functions is already unwritable, so we don't
    have to make it so (the default map for functions changes after builtins
    are initialized).
    
    We no longer need to make the prototype non-extensible, since all properties
    that are ever read by the bultins code has been added and frozen already.
    Adding properties to the prototype, or changing its __proto__, cannot affect
    code.
    
    Removing these two pieces of initialization code reduces the snapshot size
    by a few Kb.
    
    Review URL: http://codereview.chromium.org/7839028
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9166 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    2c8680cc
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...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
SConstruct Loading commit data...