• Ross McIlroy's avatar
    Reland: [Compiler] Use CompilationCache for StreamedScript compilation. · 910f45fa
    Ross McIlroy authored
    Previously GetSharedFunctionInfoForStreamedScript didn't either check the
    compilation cache or put the result of compilation into the compilation
    cache. This would mean future compiles would need to re-parse / compile
    the same script even if the isolate had already seen it. This CL
    fixes this.
    
    Also refactors the compilation pipelines to ensure we call debug->OnAfterCompile()
    for all script compiles even when loading from a cache.
    
    BUG=v8:5203
    
    Change-Id: I4b06bdfc566425f4e6d70fc3e6e080b0dc497d48
    Reviewed-on: https://chromium-review.googlesource.com/939464
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51607}
    910f45fa
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.isolate Loading commit data...
d8_default.isolate Loading commit data...
default.isolate Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.isolate Loading commit data...