• Ulan Degenbaev's avatar
    Fix alloc/dealloc size mismatch for v8::BackingStore · 9a49b229
    Ulan Degenbaev authored
    On newer compilers the {operator delete} with explicit {size_t}
    argument would be instantiated for {v8::BackingStore} and used
    in the destructor of {std::unique_ptr<v8::BackingStore>}. The {size_t}
    argument is wrong though, since the pointer actually points
    to a {v8::internal::BackingStore} object.
    The solution is to explicitly provide a {operator delete}, preventing
    an implicitly generated {size_t} operator.
    
    Bug:v8:11081
    
    Change-Id: Iee0aa47a67f0e41000bea628942f7e3d70198b83
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2506712
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70916}
    9a49b229
Name
Last commit
Last update
..
cppgc Loading commit data...
libplatform Loading commit data...
APIDesign.md Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
js_protocol-1.2.json Loading commit data...
js_protocol-1.3.json Loading commit data...
js_protocol.pdl Loading commit data...
v8-cppgc.h Loading commit data...
v8-fast-api-calls.h Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-internal.h Loading commit data...
v8-metrics.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-unwinder-state.h Loading commit data...
v8-util.h Loading commit data...
v8-value-serializer-version.h Loading commit data...
v8-version-string.h Loading commit data...
v8-version.h Loading commit data...
v8-wasm-trap-handler-posix.h Loading commit data...
v8-wasm-trap-handler-win.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...