v8/src/debug
Ross McIlroy 10ea3f8a1d [Compiler] Introduce IsCompiledScope which prevents flushing of compiled code
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}
2018-11-30 14:38:23 +00:00
..
arm Remove unecessary Arm owners files. 2018-08-23 07:47:34 +00:00
arm64 Remove unecessary Arm owners files. 2018-08-23 07:47:34 +00:00
ia32 [ia32] Remove embedded builtin porting helpers 2018-10-22 16:13:04 +00:00
mips Update MIPS file ownership to @wavecomp.com e-mail addresses 2018-07-26 16:28:10 +00:00
mips64 Update MIPS file ownership to @wavecomp.com e-mail addresses 2018-07-26 16:28:10 +00:00
ppc PPC/s390: [sfi] Compress function arg counts to 16 bit 2018-05-31 23:27:27 +00:00
s390 PPC/s390: [sfi] Compress function arg counts to 16 bit 2018-05-31 23:27:27 +00:00
x64 [sfi] Compress function arg counts to 16 bit 2018-05-30 16:35:50 +00:00
debug-coverage.cc [ubsan] Port SharedFunctionInfo to the new design 2018-11-28 21:23:50 +00:00
debug-coverage.h [refactoring] Drop roots.h -> handles.h #include 2018-10-12 18:50:02 +00:00
debug-evaluate.cc [builtins] Remove obsolete implementation of Array.prototype.slice 2018-11-26 16:01:56 +00:00
debug-evaluate.h [debug-evaluate] extend accessors by runtime receiver checks 2018-09-04 11:24:50 +00:00
debug-frames.cc [cleanup] Fix leftover clang-tidy warnings. 2018-09-21 11:12:13 +00:00
debug-frames.h [cleanup] Fix leftover clang-tidy warnings. 2018-09-21 11:12:13 +00:00
debug-interface.h reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
debug-property-iterator.cc reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
debug-property-iterator.h reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
debug-scope-iterator.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
debug-scope-iterator.h Don't expose GetFunction on the scope iterator. Simply take it into account for GetFunctionDebugName 2018-06-18 12:03:59 +00:00
debug-scopes.cc [ubsan] Port Name/String/Symbol to the new design 2018-11-27 01:42:36 +00:00
debug-scopes.h Don't expose GetFunction on the scope iterator. Simply take it into account for GetFunctionDebugName 2018-06-18 12:03:59 +00:00
debug-stack-trace-iterator.cc inspector: speculative crash fix 2018-09-28 06:20:03 +00:00
debug-stack-trace-iterator.h [runtime] Do not refer directly to the closure stored in the context 2018-04-25 17:24:02 +00:00
debug-type-profile.cc [ubsan] Port SharedFunctionInfo to the new design 2018-11-28 21:23:50 +00:00
debug-type-profile.h [refactoring] Drop roots.h -> handles.h #include 2018-10-12 18:50:02 +00:00
debug.cc [Compiler] Introduce IsCompiledScope which prevents flushing of compiled code 2018-11-30 14:38:23 +00:00
debug.h [Debug] Special case DebugBreakOnBytecode for cases where we restart the frame. 2018-11-27 14:12:50 +00:00
interface-types.h inspector: implement console.timeLog 2018-09-28 17:34:08 +00:00
liveedit.cc [ubsan] Port SharedFunctionInfo to the new design 2018-11-28 21:23:50 +00:00
liveedit.h Reland "[debug] liveedit in native" 2018-07-03 21:01:57 +00:00
OWNERS Update OWNERS files. 2018-07-17 07:56:16 +00:00