summaryrefslogtreecommitdiff
path: root/build-js.sh
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-23 16:01:01 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-23 16:01:01 -0700
commit8022c3c1bff02f2c33f37ac1a0566a38e78fbff9 (patch)
tree311067775804b57a9baf40fad0571c59e87579cf /build-js.sh
parent6d280bb282553b5eb832729a42b919c36926ca90 (diff)
downloadbinaryen-8022c3c1bff02f2c33f37ac1a0566a38e78fbff9.tar.gz
binaryen-8022c3c1bff02f2c33f37ac1a0566a38e78fbff9.tar.bz2
binaryen-8022c3c1bff02f2c33f37ac1a0566a38e78fbff9.zip
update wasm.js
Diffstat (limited to 'build-js.sh')
-rwxr-xr-xbuild-js.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-js.sh b/build-js.sh
index f1018c6c4..726955a27 100755
--- a/build-js.sh
+++ b/build-js.sh
@@ -6,7 +6,7 @@
echo "building wasm.js"
-em++ -std=c++11 src/wasm-js.cpp src/passes/pass.cpp src/passes/MergeBlocks.cpp src/passes/Print.cpp src/passes/OptimizeInstructions.cpp src/passes/RemoveUnusedBrs.cpp src/passes/RemoveUnusedNames.cpp src/passes/PostEmscripten.cpp src/passes/SimplifyLocals.cpp src/passes/ReorderLocals.cpp src/passes/Vacuum.cpp src/passes/CoalesceLocals.cpp src/emscripten-optimizer/parser.cpp src/emscripten-optimizer/simple_ast.cpp src/emscripten-optimizer/optimizer-shared.cpp src/support/colors.cpp src/support/safe_integer.cpp src/support/bits.cpp src/support/threads.cpp src/asmjs/asm_v_wasm.cpp src/asmjs/shared-constants.cpp src/wasm.cpp -Isrc/ -o bin/wasm.js -s MODULARIZE=1 -s 'EXPORT_NAME="WasmJS"' --memory-init-file 0 -Oz -s ALLOW_MEMORY_GROWTH=1 -profiling -s DEMANGLE_SUPPORT=1 #-DWASM_JS_DEBUG -DWASM_INTERPRETER_DEBUG=2
+em++ -std=c++11 src/wasm-js.cpp src/passes/pass.cpp src/passes/DeadCodeElimination.cpp src/passes/MergeBlocks.cpp src/passes/Print.cpp src/passes/OptimizeInstructions.cpp src/passes/RemoveUnusedBrs.cpp src/passes/RemoveUnusedNames.cpp src/passes/PostEmscripten.cpp src/passes/SimplifyLocals.cpp src/passes/ReorderLocals.cpp src/passes/Vacuum.cpp src/passes/CoalesceLocals.cpp src/emscripten-optimizer/parser.cpp src/emscripten-optimizer/simple_ast.cpp src/emscripten-optimizer/optimizer-shared.cpp src/support/colors.cpp src/support/safe_integer.cpp src/support/bits.cpp src/support/threads.cpp src/asmjs/asm_v_wasm.cpp src/asmjs/shared-constants.cpp src/wasm.cpp -Isrc/ -o bin/wasm.js -s MODULARIZE=1 -s 'EXPORT_NAME="WasmJS"' --memory-init-file 0 -Oz -s ALLOW_MEMORY_GROWTH=1 -profiling -s DEMANGLE_SUPPORT=1 #-DWASM_JS_DEBUG -DWASM_INTERPRETER_DEBUG=2
echo "building binaryen.js"