v8/test/cctest/wasm
Dan Elphick d1b27019d3 [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}
2021-08-23 09:35:06 +00:00
..
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
test-backing-store.cc [wasm] Move test-backing-store.cc to wasm directory 2021-03-03 13:07:01 +00:00
test-c-wasm-entry.cc [ext-code-space] Migrate WasmExportedFunctionData code field to CodeT 2021-06-18 14:10:43 +00:00
test-compilation-cache.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-gc.cc [wasm-gc] Fix max array length 2021-08-16 11:53:02 +00:00
test-grow-memory.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-jump-table-assembler.cc [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
test-liftoff-for-fuzzing.cc Reland "[wasm][liftoff][ia32][x64] Detect SIMD NaNs for fuzzing" 2021-07-05 13:21:13 +00:00
test-liftoff-inspection.cc [liftoff] Refactor options for Liftoff compilation 2021-08-04 16:48:48 +00:00
test-run-wasm-64.cc [wasm] Do not enforce LE for globals and WasmValue 2021-06-10 18:08:38 +00:00
test-run-wasm-asmjs.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-atomics64.cc [wasm] Introduce --wasm-enforce-bounds-checks flag 2021-06-30 08:31:14 +00:00
test-run-wasm-atomics.cc [wasm] Introduce --wasm-enforce-bounds-checks flag 2021-06-30 08:31:14 +00:00
test-run-wasm-bulk-memory.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-run-wasm-exceptions.cc [include] Split out v8.h 2021-08-23 09:35:06 +00:00
test-run-wasm-interpreter.cc [wasm][cleanup] Rename WASM_GROW_MEMORY to WASM_MEMORY_GROW 2021-03-17 14:37:34 +00:00
test-run-wasm-js.cc [include] Split out v8.h 2021-08-23 09:35:06 +00:00
test-run-wasm-memory64.cc [wasm] Disable trap handling for memory64 2021-07-08 11:03:08 +00:00
test-run-wasm-module.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-run-wasm-relaxed-simd.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-run-wasm-sign-extension.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-simd-liftoff.cc [wasm] Do not enforce LE for globals and WasmValue 2021-06-10 18:08:38 +00:00
test-run-wasm-simd.cc Reland "[arm64][wasm] Use NEON S/Usra for Wasm SIMD add(shr(x, imm), y)" 2021-08-17 09:27:26 +00:00
test-run-wasm-wrappers.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-run-wasm.cc Revert "[wasm] Move write scope out of NativeModule::AddCode" 2021-08-20 19:19:52 +00:00
test-streaming-compilation.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-wasm-breakpoints.cc [debug][cleanup] Use consistent StepInto and StepOver naming. 2021-06-01 11:26:57 +00:00
test-wasm-codegen.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Pass and store fewer wasm engine pointers 2021-06-21 11:57:45 +00:00
test-wasm-metrics.cc [wasm] Add CPU time metrics (reland) 2021-07-14 08:01:41 +00:00
test-wasm-serialization.cc [include] Split out v8.h 2021-08-23 09:35:06 +00:00
test-wasm-shared-engine.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
test-wasm-stack.cc [include] Split out v8.h 2021-08-23 09:35:06 +00:00
test-wasm-trap-position.cc [include] Split out v8.h 2021-08-23 09:35:06 +00:00
wasm-atomics-utils.h [wasm][cleanup] Using 'using' instead of 'typedef' 2019-03-29 10:20:30 +00:00
wasm-run-utils.cc Revert "[wasm] Move write scope out of NativeModule::AddCode" 2021-08-20 19:19:52 +00:00
wasm-run-utils.h Reland "[wasm] fix float to/from int reinterpretation tests" 2021-08-09 21:44:49 +00:00
wasm-simd-utils.cc Reland "[wasm] fix float to/from int reinterpretation tests" 2021-08-09 21:44:49 +00:00
wasm-simd-utils.h Reland "[wasm] fix float to/from int reinterpretation tests" 2021-08-09 21:44:49 +00:00