v8/test/common/wasm
Clemens Backes 8d1c5f3344 [wasm][cleanup] Avoid passing non-const FunctionSig*
Most function signatures are created once and never changed. Hence pass
them as const pointer. This makes it clear in function signatures that
these parameters will not be modified.

This also avoids a few ugly const_casts where we were passing pointers
to constexpr FunctionSigs via non-const pointers.

R=jkummerow@chromium.org

Bug: v8:10155
Change-Id: Ieb658ab5582bff276f76babdaf7ddb8f72bd4790
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2072739
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66478}
2020-02-27 09:44:42 +00:00
..
flag-utils.h [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [wasm-simd][liftoff] Handle SIMD params in function 2020-01-17 00:07:08 +00:00
wasm-macro-gen.h [wasm][reference-types] Implement declarative segments 2020-02-17 17:38:27 +00:00
wasm-module-runner.cc [wasm][cleanup] Avoid passing non-const FunctionSig* 2020-02-27 09:44:42 +00:00
wasm-module-runner.h Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00