diff options
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 2 |
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) { |