• Sven Sauleau's avatar
    [wasm] js module-builder and constants improvements · 3c3233e6
    Sven Sauleau authored
    Changes made to the Wasm module builder:
    - Create emit_u64v for emitting a LEB128 that conceptually represent
    an 64-bits integer.
    - Differentiate toBuffer and toUint8Array for returning respectively
    ArrayBuffer and a Uint8Array.
    - Moved wasmF32Const and wasmF64Const functions because we can take
    advantage of the existing cached conversion buffers. Also, declaring
    them in the constants file will collide with the module-builder since
    they are loaded in the same scope.
    - The byte_view buffer (used by some conversions to bytes) switched from
    Int8Array to Uint8Array.
    
    Changes made to the Wasm contants:
    - Add a new kSharedHasMaximumFlag flag for shared memory with a maximum
    value.
    
    Bug: v8:8726
    Change-Id: If16c59896cfa1d42008da413e2e144b73a0fa5ce
    Reviewed-on: https://chromium-review.googlesource.com/c/1443062Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Commit-Queue: Sven Sauleau <ssauleau@igalia.com>
    Cr-Commit-Position: refs/heads/master@{#59213}
    3c3233e6
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...