v8/test/cctest/wasm
Clemens Hammacher 07b115f854 [wasm] [cleanup] Introduce WireBytesRef struct
In many places in WasmModule and contained structs we store references
into the wire bytes as pairs of offset and length.
This CL introduces a WireBytesRef struct which encapsulates these two
connected fields. This makes it easier to pass them and assign them as
one unit.

R=ahaas@chromium.org, mtrofin@chromium.org
BUG=v8:6474

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I4f2a40d848a51dc6f6f599f9253c3c6ed6e51627
Reviewed-on: https://chromium-review.googlesource.com/530687
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45859}
2017-06-12 12:57:21 +00:00
..
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
test-run-wasm-64.cc [wasm] [cleanup] Always use macros for memory operations 2017-04-26 11:49:50 +00:00
test-run-wasm-asmjs.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-interpreter.cc [wasm] Reduce test-specific code 2017-04-28 09:00:32 +00:00
test-run-wasm-js.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-module.cc [wasm] [cleanup] Remove CompileInstantiateWasmModuleForTesting 2017-06-12 11:52:13 +00:00
test-run-wasm-relocation.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-simd.cc [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
test-run-wasm.cc [wasm] Make prototype flags experimental 2017-05-31 14:18:08 +00:00
test-wasm-breakpoints.cc [wasm] [cleanup] Introduce WireBytesRef struct 2017-06-12 12:57:21 +00:00
test-wasm-interpreter-entry.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-wasm-stack.cc [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
test-wasm-trap-position.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
wasm-run-utils.h [wasm] [cleanup] Introduce WireBytesRef struct 2017-06-12 12:57:21 +00:00