From 7c4fe0bc095e067c8605f60a66664bd58bac3ac5 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Wed, 7 Feb 2018 14:36:56 -0800 Subject: Emscripten addFunction support for Wasm backend (#1395) This adds necessary command line options for addFunction support, and generates required jsCall imports and generates jsCall thunk functions. --- scripts/test/s2wasm.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/test/s2wasm.py') diff --git a/scripts/test/s2wasm.py b/scripts/test/s2wasm.py index 405ed5fdf..a3345f87b 100755 --- a/scripts/test/s2wasm.py +++ b/scripts/test/s2wasm.py @@ -36,6 +36,7 @@ def test_s2wasm(): '.wast': [], '.clamp.wast': ['--trap-mode=clamp'], '.js.wast': ['--trap-mode=js'], + '.jscall.wast': ['--emscripten-reserved-function-pointers=3'], } for dot_s_dir in ['dot_s', 'llvm_autogenerated']: dot_s_path = os.path.join(options.binaryen_test, dot_s_dir) -- cgit v1.2.3