• yangguo's avatar
    Keep a canonical list of shared function infos. · c1669450
    yangguo authored
    Each Script object now keeps a WeakFixedArray of SharedFunctionInfo
    objects created from this script.
    
    This way, when compiling a function, we do not create duplicate shared
    function info objects when recompiling with either compiler.
    
    This fixes a class of issues in the debugger, where we set break points
    on one shared function info, but functions from duplicate shared function
    infos are not affected.
    
    LOG=N
    BUG=v8:4132
    
    Review URL: https://codereview.chromium.org/1183733006
    
    Cr-Commit-Position: refs/heads/master@{#29151}
    c1669450
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
mksnapshot.cc Loading commit data...
natives-external.cc Loading commit data...
natives.h Loading commit data...
serialize.cc Loading commit data...
serialize.h Loading commit data...
snapshot-common.cc Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot.h Loading commit data...