10ea3f8a1d
Introduces a IsCompiledScope object which can be used to check whether a function is compiled, and ensure it remains compiled for the lifetime of the scope without being uncompiled by bytecode flushing. The Compile functions are modified to take a scope so that calling code can ensure the function remains compiled for the lifetime they require. Also, don't allocate a feedback vector for asm-wasm code as this is never used, and will be reallocated if the asm-wasm code fails to instantiate the module and we fallback to regular JavaScript. Also restructure Compiler::PostInstantiation() to allocate the feedback vector once, and do the optimized code check before optimizing for always opt. BUG=v8:8395 Change-Id: I3f1a71143fcae3d1a0c01eefe91ebb4b8594221a Reviewed-on: https://chromium-review.googlesource.com/c/1352295 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Cr-Commit-Position: refs/heads/master@{#57971} |
||
---|---|---|
.. | ||
arm | ||
arm64 | ||
ia32 | ||
mips | ||
mips64 | ||
ppc | ||
s390 | ||
x64 | ||
debug-coverage.cc | ||
debug-coverage.h | ||
debug-evaluate.cc | ||
debug-evaluate.h | ||
debug-frames.cc | ||
debug-frames.h | ||
debug-interface.h | ||
debug-property-iterator.cc | ||
debug-property-iterator.h | ||
debug-scope-iterator.cc | ||
debug-scope-iterator.h | ||
debug-scopes.cc | ||
debug-scopes.h | ||
debug-stack-trace-iterator.cc | ||
debug-stack-trace-iterator.h | ||
debug-type-profile.cc | ||
debug-type-profile.h | ||
debug.cc | ||
debug.h | ||
interface-types.h | ||
liveedit.cc | ||
liveedit.h | ||
OWNERS |