v8/test/cctest/compiler
Ross McIlroy e7ea654543 Reland "[Compiler] Introduce IsCompiledScope which prevents flushing of compiled code"
This is a reland of 10ea3f8a1d

Original change's description:
> [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}

TBR=jgruber@chromium.org,mstarzinger@chromium.org

Bug: v8:8395
Change-Id: I8dc00798a5680997990c879c3380fe4febd47297
Reviewed-on: https://chromium-review.googlesource.com/c/1357045
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57982}
2018-11-30 22:13:14 +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 Reland "[Compiler] Introduce IsCompiledScope which prevents flushing of compiled code" 2018-11-30 22:13:14 +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 [ubsan] Port FixedArray{,Base} to the new design 2018-11-25 03:08:14 +00:00
test-gap-resolver.cc [cleanup] Remove unneeded Printable wrappers 2018-11-22 10:01: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 [turbofan] Implement loop rotation 2018-11-16 13:52:12 +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 [ubsan] Port Context to the new design 2018-11-23 11:03:54 +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 [turbofan] Implement loop rotation 2018-11-16 13:52:12 +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] Generate Float constants for certain checked conversions 2018-11-20 09:10:10 +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 [ubsan] Port Name/String/Symbol to the new design 2018-11-27 01:42:36 +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 [iwyu] Remove interface-descriptors.h -> macro-assembler.h 2018-11-19 11:02:31 +00:00
test-run-stackcheck.cc [fullcodegen] Remove --stress-fullcodegen flag. 2017-08-10 09:52:49 +00:00
test-run-stubs.cc [ubsan] Port FixedArray{,Base} to the new design 2018-11-25 03:08:14 +00:00
test-run-tail-calls.cc [iwyu] Remove interface-descriptors.h -> macro-assembler.h 2018-11-19 11:02:31 +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