summaryrefslogtreecommitdiff
path: root/wasm2c/examples/fac/main.c
diff options
context:
space:
mode:
authorAsumu Takikawa <asumu@igalia.com>2022-04-13 11:31:45 -0700
committerGitHub <noreply@github.com>2022-04-13 11:31:45 -0700
commitd08b0d9fd2b76325b09308268e14969f923ff1fe (patch)
tree4ab14007e295d8444ac46977eee3fda19f2b86cc /wasm2c/examples/fac/main.c
parent26ce1caf0a9fb9104b71faac5b7478cd6b72cf8d (diff)
downloadwabt-d08b0d9fd2b76325b09308268e14969f923ff1fe.tar.gz
wabt-d08b0d9fd2b76325b09308268e14969f923ff1fe.tar.bz2
wabt-d08b0d9fd2b76325b09308268e14969f923ff1fe.zip
Fix checking of ref.func index declarations (#1894)
The validation was overly strict for ref.func index uses. In the spec, the ref index just needs to appear in "the set of function indices occurring in the module, except in its functions or start function." which includes uses in the global and export sections. Fixes issue #1893
Diffstat (limited to 'wasm2c/examples/fac/main.c')
0 files changed, 0 insertions, 0 deletions