v8/test/cctest/wasm
Clemens Hammacher a1fcd77714 [wasm] Dehandlify WasmCompiledModule interface
The interface of {WasmCompiledModule} currently mostly receives and
provides handles to the contained data. Other interfaces don't (see
{object-macros.h}.
This leads to performance and memory overhead for chained accesses like
{instance->compiled_module()->shared()->script()}, because intermediate
accessors allocate Handles for no reason. It also breaks the
constraints that lower-case accessors should be trivial to execute, but
allocating a handle is not trivial (should not be done in a loop if not
needed).
It also silences gcmole errors, as documented in
https://crrev.com/c/832268.

R=ahaas@chromium.org, mtrofin@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: Ib82fb295977a47b4a8ab9bae9c9b6e2b235ad5e5
Reviewed-on: https://chromium-review.googlesource.com/832387
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50173}
2017-12-18 16:58:08 +00:00
..
OWNERS Add eholk to Wasm-related OWNERS files 2017-08-10 18:58:00 +00:00
test-c-wasm-entry.cc [wasm] W^X mechanism for WasmCodeManager. 2017-12-04 17:22:31 +00:00
test-run-wasm-64.cc [wasm] First step of refactoring trap handling to be per module. 2017-12-07 01:00:55 +00:00
test-run-wasm-asmjs.cc [wasm] Introduce the WasmContext 2017-09-28 16:14:03 +00:00
test-run-wasm-atomics.cc [wasm] Add Atomic Load, Store Ops to the interpreter 2017-12-01 23:03:02 +00:00
test-run-wasm-interpreter.cc [wasm] [cleanup] Rename tests 2017-11-02 14:34:13 +00:00
test-run-wasm-js.cc [jumbo] drop duplicate BUILD macro from test-run-wasm-js.cc 2017-09-22 11:15:08 +00:00
test-run-wasm-module.cc [wasm] Remove redirecting accessor methods 2017-12-18 12:28:20 +00:00
test-run-wasm-relocation.cc [wasm] Simplify init by adding SetRawMemory() to WasmContext. 2017-12-15 20:33:16 +00:00
test-run-wasm-simd.cc [wasm] Implement wasm SIMD F32x4 Ops 2017-12-11 22:14:34 +00:00
test-run-wasm.cc [wasm] First step of refactoring trap handling to be per module. 2017-12-07 01:00:55 +00:00
test-streaming-compilation.cc [wasm] Do not start background tasks after compilation is finished 2017-12-14 16:25:09 +00:00
test-wasm-breakpoints.cc [wasm] Dehandlify WasmCompiledModule interface 2017-12-18 16:58:08 +00:00
test-wasm-codegen.cc Add capability to handle CSP 'wasm-eval' in V8 2017-11-09 00:40:42 +00:00
test-wasm-interpreter-entry.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-wasm-stack.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-wasm-trap-position.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
wasm-run-utils.cc [wasm] Dehandlify WasmCompiledModule interface 2017-12-18 16:58:08 +00:00
wasm-run-utils.h [wasm] s/wasm-heap/wasm-code-manager 2017-12-05 16:30:06 +00:00