summaryrefslogtreecommitdiff
path: root/emcc_to_wasm.js.sh
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-16 14:35:58 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-16 14:35:58 -0800
commit4aee30b209d5394f539af0000eb24064af11fa0c (patch)
treeec0c4cb05ee151e3e5d460e91ee3e51962a4472b /emcc_to_wasm.js.sh
parentee74df535b0c9757642410957ac478085f6ba6ae (diff)
downloadbinaryen-4aee30b209d5394f539af0000eb24064af11fa0c.tar.gz
binaryen-4aee30b209d5394f539af0000eb24064af11fa0c.tar.bz2
binaryen-4aee30b209d5394f539af0000eb24064af11fa0c.zip
use the new BINARYEN option in emscripten
Diffstat (limited to 'emcc_to_wasm.js.sh')
-rwxr-xr-xemcc_to_wasm.js.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/emcc_to_wasm.js.sh b/emcc_to_wasm.js.sh
deleted file mode 100755
index 5e89f198e..000000000
--- a/emcc_to_wasm.js.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-echo "calling emcc"
-emcc -o a.html --separate-asm -g1 -s TOTAL_MEMORY=67108864 -s GLOBAL_BASE=1024 -s ALIASING_FUNCTION_POINTERS=0 $@
-
-# we now have a.asm.js and a.js
-
-echo 'constructing a.normal.js' # just normal combination of the files. no wasm yet
-cat src/templates/normal.js > a.normal.js
-cat a.asm.js >> a.normal.js
-cat a.js >> a.normal.js
-
-echo 'constructing a.wasm.js' # use wasm polyfill in place of asm.js THIS IS NOT A DRILL
-cat src/templates/wasm.js > a.wasm.js
-cat bin/wasm.js >> a.wasm.js
-cat a.js >> a.wasm.js
-