• Ben Smith's avatar
    [wasm] Parse DataCount section for bulk-memory · cb62c6ed
    Ben Smith authored
    The bulk-memory proposal adds a new DataCount section that declares the
    number of data segments that are expected to be seen in the Data
    section. This is similar to the way the number of functions is split
    between the Function and Code sections.
    
    The DataCount section occurs before the Code section, so we can do
    single-pass validation of the new `memory.init` and `memory.drop`
    instructions, which have data segment indices as immediates.
    
    Bug: v8:7747
    Change-Id: Ibc5a7ee9336dbc5d0fd667572c42cb065c048e00
    Reviewed-on: https://chromium-review.googlesource.com/c/1352792
    Commit-Queue: Ben Smith <binji@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57951}
    cb62c6ed
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...