• 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
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
codegen Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
date Loading commit data...
debug Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parser Loading commit data...
profiler Loading commit data...
regexp Loading commit data...
regress Loading commit data...
runtime Loading commit data...
sandbox Loading commit data...
strings Loading commit data...
tasks Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
avoid-windows-h-includes.cc Loading commit data...
run-all-unittests.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unittests.status Loading commit data...