summaryrefslogtreecommitdiff
path: root/src/asmjs/asm_v_wasm.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-09-30 10:47:52 -0700
committerGitHub <noreply@github.com>2016-09-30 10:47:52 -0700
commitcbe71a99f3b53db81cfd23f7a12f2010daeff65d (patch)
tree73342cd6db91ce3a6fd18b9ec6a733f9d91ea21f /src/asmjs/asm_v_wasm.cpp
parent2a543b48db250ea9cd7172b6db9a0b8d3657475a (diff)
downloadbinaryen-cbe71a99f3b53db81cfd23f7a12f2010daeff65d.tar.gz
binaryen-cbe71a99f3b53db81cfd23f7a12f2010daeff65d.tar.bz2
binaryen-cbe71a99f3b53db81cfd23f7a12f2010daeff65d.zip
Make the linker always create a table segment (#722)
Previously a table was only created if there were any address-taken functions. New module validation rules require the existence of a table for any call-indirects to validate (even if they are dead and never called). However this use case seems common enough that we might want to make it continue to work. So the linker now always creates an empty table segment (indicating an empty table).
Diffstat (limited to 'src/asmjs/asm_v_wasm.cpp')
0 files changed, 0 insertions, 0 deletions