• Michael Starzinger's avatar
    [wasm] Fix bogus uses of {WasmGraphBuilder::Buffer}. · 47f3a53f
    Michael Starzinger authored
    With exception handling enabled new call paths open up, which will
    perform environment merging while a "call" or "call_indirect" is
    currently being emitted. This will lead to double-use of the buffer
    returned by calls to {Buffer} or {Realloc}. In general we should
    transition away from this optimization to safer constructs such as
    {base::SmallVector} to avoid such bugs.
    
    R=clemensb@chromium.org
    TEST=mjsunit/regress/regress-9832
    BUG=v8:9832
    
    Change-Id: I4c862ac1bc7dc34ad62279c82f6414153e8cbddb
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1856006
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64271}
    47f3a53f
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...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...