• Jakob Kummerow's avatar
    [wasm-c-api] Roll bf31edf: Fix life times of host info · 3aa4f05d
    Jakob Kummerow authored
    Host info used to be stored on the global reference underlying a Ref;
    now it is stored in a JSWeakMap and hence tied to the lifetime of the
    actual object on V8's heap.
    Additionally, the internal metadata needed for C-API functions is now
    stored on the SharedFunctionInfo and no longer overlaps with the host
    info mechanism.
    
    Bonus content:
    Roll 6db391e: Remove a few more leftover uses of _enum types
    
    Change-Id: Ibb1fa4b0dd5157fef15c030bac705a11aa3beaea
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1768368Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63400}
    3aa4f05d
Name
Last commit
Last update
..
callback.c Loading commit data...
callback.cc Loading commit data...
callback.wasm Loading commit data...
callback.wat Loading commit data...
finalize.c Loading commit data...
finalize.cc Loading commit data...
finalize.wasm Loading commit data...
finalize.wat Loading commit data...
global.c Loading commit data...
global.cc Loading commit data...
global.wasm Loading commit data...
global.wat Loading commit data...
hello.c Loading commit data...
hello.cc Loading commit data...
hello.wasm Loading commit data...
hello.wat Loading commit data...
hostref.c Loading commit data...
hostref.cc Loading commit data...
hostref.wasm Loading commit data...
hostref.wat Loading commit data...
memory.c Loading commit data...
memory.cc Loading commit data...
memory.wasm Loading commit data...
memory.wat Loading commit data...
multi.c Loading commit data...
multi.cc Loading commit data...
multi.wasm Loading commit data...
multi.wat Loading commit data...
reflect.c Loading commit data...
reflect.cc Loading commit data...
reflect.wasm Loading commit data...
reflect.wat Loading commit data...
serialize.c Loading commit data...
serialize.cc Loading commit data...
serialize.wasm Loading commit data...
serialize.wat Loading commit data...
start.c Loading commit data...
start.cc Loading commit data...
start.wasm Loading commit data...
start.wat Loading commit data...
table.c Loading commit data...
table.cc Loading commit data...
table.wasm Loading commit data...
table.wat Loading commit data...
threads.c Loading commit data...
threads.cc Loading commit data...
threads.wasm Loading commit data...
threads.wat Loading commit data...
trap.c Loading commit data...
trap.cc Loading commit data...
trap.wasm Loading commit data...
trap.wat Loading commit data...