• 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
..
assembler-ia32-inl.h Loading commit data...
assembler-ia32.cc Loading commit data...
assembler-ia32.h Loading commit data...
builtins-ia32.cc Loading commit data...
code-stubs-ia32.cc Loading commit data...
code-stubs-ia32.h Loading commit data...
codegen-ia32.cc Loading commit data...
codegen-ia32.h Loading commit data...
cpu-ia32.cc Loading commit data...
debug-ia32.cc Loading commit data...
deoptimizer-ia32.cc Loading commit data...
disasm-ia32.cc Loading commit data...
frames-ia32.cc Loading commit data...
frames-ia32.h Loading commit data...
full-codegen-ia32.cc Loading commit data...
interface-descriptors-ia32.cc Loading commit data...
lithium-codegen-ia32.cc Loading commit data...
lithium-codegen-ia32.h Loading commit data...
lithium-gap-resolver-ia32.cc Loading commit data...
lithium-gap-resolver-ia32.h Loading commit data...
lithium-ia32.cc Loading commit data...
lithium-ia32.h Loading commit data...
macro-assembler-ia32.cc Loading commit data...
macro-assembler-ia32.h Loading commit data...
regexp-macro-assembler-ia32.cc Loading commit data...
regexp-macro-assembler-ia32.h Loading commit data...
simulator-ia32.cc Loading commit data...
simulator-ia32.h Loading commit data...