aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-15 09:43:43 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-15 09:43:43 -0800
commit707845b881a6b9eaa75eb6e7273365721ada1fd9 (patch)
treeae0060cda5bc1055ef60db9560d6cf39dc0c599b /src
parent5b5ecd0a29f07da181f0b935a0d71c8cb748227f (diff)
comment about post-optimizations
Diffstat (limited to 'src')
-rw-r--r--src/compiler.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 6c729573..60e84108 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -59,6 +59,8 @@ assert(!(USE_TYPED_ARRAYS === 2 && QUANTUM_SIZE !== 4), 'For USE_TYPED_ARRAYS ==
if (!OPTIMIZE || !RELOOP || ASSERTIONS || CHECK_SIGNS || CHECK_OVERFLOWS || INIT_STACK || INIT_HEAP ||
!SKIP_STACK_IN_SMALL || SAFE_HEAP || AUTO_OPTIMIZE || PROFILE || !DISABLE_EXCEPTION_CATCHING) {
print('// Note: Some Emscripten settings will significantly limit the speed of the generated code.');
+} else {
+ print('// Note: For maximum-speed code, it is recommended to run the emscripten eliminator tool and/or closure compiler.');
}
if (CORRECT_SIGNS || CORRECT_OVERFLOWS || CORRECT_ROUNDINGS) {