summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-29 13:54:23 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-29 13:54:23 -0700
commit660759c84a256c15124a0e5d3ffcfbf8f02946bb (patch)
tree50fe2ffe85b3844b42c4a4d6d13889e47147fbaa
parent12e127b0bc921fedd036119eabd605aaedf3af5c (diff)
downloadbinaryen-660759c84a256c15124a0e5d3ffcfbf8f02946bb.tar.gz
binaryen-660759c84a256c15124a0e5d3ffcfbf8f02946bb.tar.bz2
binaryen-660759c84a256c15124a0e5d3ffcfbf8f02946bb.zip
notes
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7c0cff081..e8615af04 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,8 @@ emcc src.cpp -o a.html --separate-asm
That will emit `a.html`, `a.js`, and `a.asm.js`. That last file is the asm.js module, which you can pass into `asm2wasm`.
+ * Note: you can try `-O1` or higher, but you should probably use `--profiling` which keeps the code semi-readable (otherwise, you'll get minified names, etc., and that code path is untested).
+
## TODO
* We should optimize the emitted WebAssembly, as you can see in the example above.
@@ -74,5 +76,5 @@ That will emit `a.html`, `a.js`, and `a.asm.js`. That last file is the asm.js mo
Same as Emscripten: MIT license.
-For changes to `src/`, please make pulls into emscripten's `asm2wasm` branch (this code is sync'ed with there, for convenience).
+For changes to `src/`, please make pulls into emscripten's `asm2wasm` branch (in `tools/optimizer`; this code is sync'ed with there, for convenience).