aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-15 21:33:17 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-15 21:33:17 -0800
commit7600935358ca7b783f5803200b142b50f39ce17a (patch)
tree31b1cdab3420cc45eed652efd5a0466ab4fc8554 /emcc
parentc7cb560f9325adf022aff445e14d71d99ca80deb (diff)
parent375761d4a5f514f7de05efb134037bd6a6923831 (diff)
Merge pull request #2016 from rfk/rfk/minify-names-separately
Split name-minification into a separate pass from registerization.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index f425ff4d..958b018c 100755
--- a/emcc
+++ b/emcc
@@ -1999,7 +1999,7 @@ try:
js_optimizer_queue += ['registerize']
if opt_level > 0:
- if debug_level < 2 and shared.Settings.ASM_JS: js_optimizer_queue = map(lambda p: p if p != 'registerize' else 'registerizeAndMinify', js_optimizer_queue)
+ if debug_level < 2 and shared.Settings.ASM_JS: js_optimizer_queue += ['minifyNames']
if debug_level == 0: js_optimizer_queue += ['minifyWhitespace']
if closure and shared.Settings.ASM_JS: