• Manos Koukoutos's avatar
    [wasm] Refactoring ahead of element segment changes · 226b8c86
    Manos Koukoutos authored
    See related CL for context.
    
    Changes:
    - In InitExprInterface, add the ability to evaluate function references
      as index only. Remove the global buffers and use the ones passed with
      the instance object instead.
    - In WasmElemSegment, add a field indicating if elements should be
      parsed as expressions or indices. Change module-decoder.cc to reflect
      this change.
    - In module-instantiate, change the signatures of LoadElemSegment,
      LoadElemSegmentImpl, and EvaluateInitExpr. Move the latter out of
      InstanceBuilder.
    
    Change-Id: I1df54393b2005fba49380654bdd40429bd4869dd
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3364081Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78470}
    226b8c86
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...