summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-02 21:32:17 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-02 21:32:17 -0800
commita18f879612876860429aa153336be293a9368310 (patch)
treed087675267013ca3e3ab583b16bc1385f72519a3
parentef4f2c7490600a0d868eb5a426a0617d055d8cb3 (diff)
downloadbinaryen-a18f879612876860429aa153336be293a9368310.tar.gz
binaryen-a18f879612876860429aa153336be293a9368310.tar.bz2
binaryen-a18f879612876860429aa153336be293a9368310.zip
simplify emcc_to_wasm.js.sh
-rwxr-xr-xemcc_to_wasm.js.sh1
-rw-r--r--src/templates/wasm.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/emcc_to_wasm.js.sh b/emcc_to_wasm.js.sh
index c4c3a4bf3..2f68b55c3 100755
--- a/emcc_to_wasm.js.sh
+++ b/emcc_to_wasm.js.sh
@@ -13,7 +13,6 @@ 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
-cp a.asm.js a.asm.code.js
cat src/templates/wasm.js > a.wasm.js
cat bin/wasm.js >> a.wasm.js
cat a.js >> a.wasm.js
diff --git a/src/templates/wasm.js b/src/templates/wasm.js
index 94ab6d352..c2c0ae5b9 100644
--- a/src/templates/wasm.js
+++ b/src/templates/wasm.js
@@ -1,5 +1,5 @@
var Module = {
- asmjsCodeFile: 'a.asm.code.js' // tell polyfill (which replaces a.asm.js) where the asm.js code is
+ asmjsCodeFile: 'a.asm.js' // tell polyfill (which replaces a.asm.js) where the asm.js code is
};