summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-27 20:03:45 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-27 20:03:45 -0800
commit8ac3bc71809fddadf14bb9cbedcd2d9f87fcb09c (patch)
tree8afeece8919af3c1ff5d56d4e61384313624642e
parent60b6bf5509e56a96b9498eae9b8f629b8ccc58a8 (diff)
downloadbinaryen-8ac3bc71809fddadf14bb9cbedcd2d9f87fcb09c.tar.gz
binaryen-8ac3bc71809fddadf14bb9cbedcd2d9f87fcb09c.tar.bz2
binaryen-8ac3bc71809fddadf14bb9cbedcd2d9f87fcb09c.zip
comment
-rw-r--r--src/wasm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 8fa9c6bda..d81f4087a 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -18,11 +18,12 @@
//
// wasm.js internal WebAssembly representation design:
//
-// * Optimize for size. This justifies separating if and if_else
-// (so that if doesn't have an always-empty else)
// * Unify where possible. Where size isn't a concern, combine
// classes, so binary ops and relational ops are joined. This
// simplifies that AST and makes traversals easier.
+// * Optimize for size? This might justify separating if and if_else
+// (so that if doesn't have an always-empty else; also it avoids
+// a branch).
//
#ifndef __wasm_h__