v8/third_party/wasm-api/example
Jakob Kummerow 3aa4f05d0c [wasm-c-api] Roll bf31edf: Fix life times of host info
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/+/1768368
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63400}
2019-08-26 14:28:51 +00:00
..
callback.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
callback.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
callback.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
callback.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
finalize.c [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
finalize.cc [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
finalize.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
finalize.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
global.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
global.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
global.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
global.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
hello.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
hello.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
hello.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
hello.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
hostref.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
hostref.cc [wasm-c-api] Roll 3094fe2: Implement Global::get/set for refs 2019-08-21 15:54:59 +00:00
hostref.wasm [wasm-c-api] Roll 3094fe2: Implement Global::get/set for refs 2019-08-21 15:54:59 +00:00
hostref.wat [wasm-c-api] Roll 3094fe2: Implement Global::get/set for refs 2019-08-21 15:54:59 +00:00
memory.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
memory.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
memory.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
memory.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
multi.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
multi.cc [wasm-c-api] Roll 351b9b7: Support multiple return values 2019-08-20 14:48:14 +00:00
multi.wasm [wasm-c-api] Roll 351b9b7: Support multiple return values 2019-08-20 14:48:14 +00:00
multi.wat [wasm-c-api] Roll 351b9b7: Support multiple return values 2019-08-20 14:48:14 +00:00
reflect.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
reflect.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
reflect.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
reflect.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
serialize.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
serialize.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
serialize.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
serialize.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
start.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
start.cc [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
start.wasm [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
start.wat [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
table.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
table.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
table.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
table.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
threads.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
threads.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
threads.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
threads.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
trap.c [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
trap.cc [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
trap.wasm [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00
trap.wat [wasm-c-api] Add upstream examples as tests 2019-04-17 18:04:16 +00:00