• 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
..
OWNERS Loading commit data...
test-c-wasm-entry.cc Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-atomics.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-relocation.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-streaming-compilation.cc Loading commit data...
test-wasm-breakpoints.cc Loading commit data...
test-wasm-codegen.cc Loading commit data...
test-wasm-interpreter-entry.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-run-utils.cc Loading commit data...
wasm-run-utils.h Loading commit data...