diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-04-17 13:26:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 13:26:33 -0700 |
commit | 2e210c1fca804a4ec86bef8855f819747d8bd7ca (patch) | |
tree | 9a90eaee299773f1a0dc1412a5c636c3bc31cf4e /test/merge/global-init.wast.toMerge | |
parent | ec66e273e350c3d48df0ccaaf73c53b14485848f (diff) | |
download | binaryen-2e210c1fca804a4ec86bef8855f819747d8bd7ca.tar.gz binaryen-2e210c1fca804a4ec86bef8855f819747d8bd7ca.tar.bz2 binaryen-2e210c1fca804a4ec86bef8855f819747d8bd7ca.zip |
wasm-merge tool (#919)
wasm-merge tool: combines two wasm files into a larger one, handling collisions, and aware of the dynamic linking conventions. it does not do full static linking, but may eventually.
Diffstat (limited to 'test/merge/global-init.wast.toMerge')
-rw-r--r-- | test/merge/global-init.wast.toMerge | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/merge/global-init.wast.toMerge b/test/merge/global-init.wast.toMerge new file mode 100644 index 000000000..6f5d5e6dd --- /dev/null +++ b/test/merge/global-init.wast.toMerge @@ -0,0 +1,10 @@ +(module + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) + (import "env" "memory" (memory $0 256)) + (import "env" "table" (table 0 anyfunc)) + (import "env" "globally" (global $i-collide f64)) + (global $b f64 (get_global $i-collide)) + (global $g-collide f64 (get_global $i-collide)) +) + |