• Clemens Backes's avatar
    [wasm][cleanup] Fix passing of WireBytesStorage · 50117080
    Clemens Backes authored
    WireBytesStorage is the class used to access the wire bytes of a
    function for compilation. It is stored and passed in a shared_ptr,
    because it can be updated while compilation is running, and the
    compilation threads will keep the old reference alive until the last
    reference is dropped.
    This CL fixes a few issues where we unnecessarily passed a reference
    to the shared_ptr instead of just a raw pointer, and changes one
    copy-assign into a move-assign to avoid an unneeded reference increase
    and decrease.
    
    R=thibaudm@chromium.org
    
    Bug: v8:11879
    Change-Id: I18b626a7b6cde09d5b29f091bd9f49d01d408206
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2953196Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75116}
    50117080
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli 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...
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...