• Andreas Haas's avatar
    [wasm-streaming] Fix function index calculation · 6607bac5
    Andreas Haas authored
    The index of a function in the WasmModule data structure is offset by
    the number of imported functions in the module. The {DecodeFunctionBody}
    function of the module decoder, however, requires the function index
    without this offset. The streaming processor mixed up these two ranges
    of function indices. This is fixed in this CL.
    
    R=clemensh@chromium.org
    
    Bug: chromium:781507
    Change-Id: Ie3e0c4703b06ecb923c98ffb961844915323197c
    Reviewed-on: https://chromium-review.googlesource.com/776680
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49523}
    6607bac5
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...