• ricow@chromium.org's avatar
    Optimize the equality check case of ICCompare stubs. · 1028cf26
    ricow@chromium.org authored
    This includes specialcasing the generation when we know that the maps
    of the two objects are the same. In addition, a new specialized
    compare ic known objects cache is created.
    
    The reason for the cache is that we need to have access to the stub
    code from the roots; if we do not, the GC will collect the stub. In
    this specialized case we use the map pointer as key in the cache, and
    we always do a lookup before generating code. Actually hitting
    something in the cache will happen very rarely, but we could
    potentially overwrite an existing stub, which again will lead to the
    GC collecting this old stub (even if it is referenced from other code
    objects)
    Review URL: http://codereview.chromium.org/8520006
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10216 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    1028cf26
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...