v8/test/cctest/compiler
Ross McIlroy fed1364adf [Compiler] Ensure TurboFan holds onto BytecodeArray to keep it alive.
With Bytecode flushing, the a SharedFunctionInfo's bytecode might be flushed
while the compiler is expecting it to still exist. Rather than continually
getting the bytecode from the SFI, instead bottleneck the points where we get
BytecodeArray from SFIs and maintain an explicit strong reference to the
BytecodeArray from that point onwards to prevent flushing.

BUG=v8:8395

Change-Id: I6a18adec99402838690971eb37ee0617cdc15920
Reviewed-on: https://chromium-review.googlesource.com/c/1309763
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57536}
2018-11-15 12:33:32 +00:00
..
c-signature.h [test] Fix usages of std::array initializer lists. 2018-01-16 17:14:29 +00:00
call-tester.h [cleanup] Refactor compiler to use default members. 2018-09-17 12:12:21 +00:00
code-assembler-tester.h [csa] re-schedule CSA graph 2018-11-13 17:12:01 +00:00
codegen-tester.cc Enable clang's -Wunreachable-code warning. 2017-12-04 13:09:25 +00:00
codegen-tester.h [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
function-tester.cc [Compiler] Ensure TurboFan holds onto BytecodeArray to keep it alive. 2018-11-15 12:33:32 +00:00
function-tester.h [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
graph-builder-tester.h [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
test-basic-block-profiler.cc [csa] re-schedule CSA graph 2018-11-13 17:12:01 +00:00
test-branch-combine.cc [cleanup] Mark compiler methods in subclasses with override. 2018-09-17 08:51:47 +00:00
test-code-assembler.cc [csa] Add scoped exception handler support for non-PLabels 2018-11-13 14:37:21 +00:00
test-code-generator.cc [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
test-gap-resolver.cc [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
test-graph-visualizer.cc Reland "Introduce StdoutStream which prints to Android log or stdout" 2018-06-14 13:29:01 +00:00
test-instruction-scheduler.cc [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
test-instruction.cc [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
test-js-constant-cache.cc [cleanup] Remove unused Isolate parameters 2018-07-18 16:47:22 +00:00
test-js-context-specialization.cc Remove on-by-default flag --concurrent-typed-lowering. 2018-10-25 11:37:07 +00:00
test-js-typed-lowering.cc [turbofan] Remove redundant isolate argument from typers. 2018-09-25 13:00:05 +00:00
test-jump-threading.cc [compiler] Move some files to backend/ directory 2018-11-12 15:06:56 +00:00
test-linkage.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
test-loop-analysis.cc Reland "Introduce StdoutStream which prints to Android log or stdout" 2018-06-14 13:29:01 +00:00
test-machine-operator-reducer.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-multiple-return.cc [wasm] Do not store ModuleEnv 2018-10-23 12:47:14 +00:00
test-node.cc Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
test-operator.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-representation-change.cc [turbofan] Don't loose checked Uint32 -> Int32 conversion 2018-11-06 15:16:48 +00:00
test-run-bytecode-graph-builder.cc [parser] Remove broken/half-implemented do-expressions 2018-11-09 13:22:56 +00:00
test-run-calls-to-external-references.cc Reland: [refactoring] Remove the isolate from signatures of ExternalReferences 2018-04-25 09:47:30 +00:00
test-run-deopt.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-intrinsics.cc [cleanup] Don't declare inline runtime functions by default 2018-10-05 13:10:56 +00:00
test-run-jsbranches.cc [turbofan] Remove for-in support from the AstGraphBuilder. 2017-02-08 06:41:42 +00:00
test-run-jscalls.cc [iwyu] api.h iwyu 2018-07-20 11:49:02 +00:00
test-run-jsexceptions.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-jsobjects.cc [explicit isolates] Remove various GetIsolates 2018-07-17 11:56:37 +00:00
test-run-jsops.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-run-load-store.cc Reland "[ptr-compr] Fix incorrectly used machine types" 2018-11-07 11:29:32 +00:00
test-run-machops.cc [turbofan] Initial support to compute NumberAdd/NumberSubtract in Word64. 2018-09-17 08:32:04 +00:00
test-run-native-calls.cc [ia32,root] Use root register config in tests 2018-10-02 15:53:03 +00:00
test-run-retpoline.cc [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
test-run-stackcheck.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-stubs.cc Reland: [iwyu] Remove sfi-inl.h -> wasm include 2018-07-25 14:54:37 +00:00
test-run-tail-calls.cc [turbofan] Put some tests under a canonical handle scope. 2018-07-31 18:20:53 +00:00
test-run-unwinding-info.cc [cleanup] Make unicode predicate cache tables static 2018-11-14 15:33:45 +00:00
test-run-variables.cc [cleanup] Split off api-inl.h from api.h to make latter self contained 2018-07-23 16:03:49 +00:00
value-helper.cc Reland "[test] Avoid unnecessary std::vector allocations" 2017-10-19 08:47:31 +00:00
value-helper.h ppc64, aix: eliminate cctest failures due to gcc bug on Aix 2018-09-27 17:35:41 +00:00