v8/test/cctest/compiler
Dan Elphick ec06bb6ce5 Reland "[include] Split out v8.h"
This is a reland of d1b27019d3

Fixes include:
Adding missing file to bazel build
Forward-declaring classing before friend-classing them to fix win/gcc
Add missing v8-isolate.h include for vtune builds

Original change's description:
> [include] Split out v8.h
>
> This moves every single class/function out of include/v8.h into a
> separate header in include/, which v8.h then includes so that
> externally nothing appears to have changed.
>
> Every include of v8.h from inside v8 has been changed to a more
> fine-grained include.
>
> Previously inline functions defined at the bottom of v8.h would call
> private non-inline functions in the V8 class. Since that class is now
> in v8-initialization.h and is rarely included (as that would create
> dependency cycles), this is not possible and so those methods have been
> moved out of the V8 class into the namespace v8::api_internal.
>
> None of the previous files in include/ now #include v8.h, which means
> if embedders were relying on this transitive dependency then it will
> give compile failures.
>
> v8-inspector.h does depend on v8-scripts.h for the time being to ensure
> that Chrome continue to compile but that change will be reverted once
> those transitive #includes in chrome are changed to include it directly.
>
> Full design:
> https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing
>
> Bug: v8:11965
> Change-Id: I53b84b29581632710edc80eb11f819c2097a2877
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Reviewed-by: Camillo Bruni <cbruni@chromium.org>
> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
> Reviewed-by: Leszek Swirski <leszeks@chromium.org>
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Commit-Queue: Dan Elphick <delphick@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#76424}

Cq-Include-Trybots: luci.v8.try:v8_linux_vtunejit
Bug: v8:11965
Change-Id: I99f5d3a73bf8fe25b650adfaf9567dc4e44a09e6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3113629
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76460}
2021-08-24 13:08:55 +00:00
..
c-signature.h [test] Fix UBSan failure 2021-02-12 11:24:53 +00:00
call-tester.h
code-assembler-tester.h [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
codegen-tester.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
codegen-tester.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
function-tester.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
function-tester.h
graph-and-builders.h [zone] Cleanup zone allocations in src/compiler and tests, pt.3 2020-07-10 16:39:05 +00:00
node-observer-tester.h Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
serializer-tester.h [compiler] Fix serialization for Function#bind 2021-06-22 12:42:19 +00:00
test-atomic-load-store-codegen.cc Reland "[compiler] Support acq/rel accesses and atomic accesses on tagged" 2021-08-19 18:23:57 +00:00
test-basic-block-profiler.cc Don't use floating-point values in basic block instrumentation 2021-02-10 14:15:20 +00:00
test-branch-combine.cc
test-calls-with-arraylike-or-spread.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-code-assembler.cc [assembler] Add build flag for --code-comments 2021-04-20 07:25:23 +00:00
test-code-generator.cc [test] Enable baseline tests on riscv64 2021-08-16 14:34:23 +00:00
test-concurrent-shared-function-info.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-gap-resolver.cc [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
test-graph-visualizer.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
test-instruction-scheduler.cc [deoptimizer][turbofan] Provide id of deoptimizing node in trace 2021-08-11 08:54:52 +00:00
test-instruction.cc [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00
test-js-constant-cache.cc Reland "[compiler] Remove one ObjectRef constructor" 2021-05-25 16:38:45 +00:00
test-js-context-specialization.cc [compiler] Change all JS operators to hold TinyRefs instead of handles 2021-08-05 12:32:38 +00:00
test-js-typed-lowering.cc [compiler] Make JSFunction bg-serialized 2021-07-19 13:47:16 +00:00
test-jump-threading.cc Iterate in assembly order for jump threading 2021-08-03 17:22:40 +00:00
test-linkage.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-loop-analysis.cc [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00
test-machine-operator-reducer.cc [compiler] Fix --trace-turbo-reduction in the presence of direct reads 2020-09-11 17:21:43 +00:00
test-multiple-return.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-node.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
test-operator.cc
test-representation-change.cc [compiler] Fix bogus integer range types 2021-04-27 15:26:39 +00:00
test-run-bytecode-graph-builder.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-run-calls-to-external-references.cc Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
test-run-deopt.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
test-run-jsbranches.cc
test-run-jscalls.cc [interpreter] Remove unused interpreter intrinsics 2021-06-17 13:43:41 +00:00
test-run-jsexceptions.cc
test-run-jsobjects.cc [keys] Handle RangeError in GetKeysWithPrototypeInfoCache 2020-03-04 13:38:10 +00:00
test-run-jsops.cc
test-run-load-store.cc [ptr-compr] Enable pointer compression on s390x 2020-03-31 17:06:17 +00:00
test-run-machops.cc [test] Enable baseline tests on riscv64 2021-08-16 14:34:23 +00:00
test-run-native-calls.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-run-stackcheck.cc
test-run-tail-calls.cc [compiler] Refactor CallDescriptor methods 2021-03-06 01:44:20 +00:00
test-run-unwinding-info.cc Remove --perf-prof flag on non-linux 2020-01-10 13:58:50 +00:00
test-run-variables.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-sloppy-equality.cc Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00
test-verify-type.cc Fix most instances of -Wunreachable-code-aggressive. 2021-07-01 03:03:25 +00:00
value-helper.cc
value-helper.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00