diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-22 15:02:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-22 15:02:10 -0700 |
commit | 202461abe30f260cf403d430e51d80f225950605 (patch) | |
tree | c84ea7b7d91237bf1164f4e23798960a455ae83a /emcc | |
parent | 369167ebda362eb0c76081976ae0a48d2d3c1cbd (diff) |
fix -g2 and add testing
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1552,8 +1552,9 @@ try: if (not closure or shared.Settings.ASM_JS) and shared.Settings.RELOOP and debug_level < 3: js_optimizer_queue += ['registerize'] - if debug_level == 0 and opt_level > 0: - js_optimizer_queue += ['compress'] + if opt_level > 0: + if debug_level < 2 and shared.Settings.ASM_JS: js_optimizer_queue += ['minifyGlobals'] + if debug_level == 0: js_optimizer_queue += ['minifyWhitespace'] if closure and shared.Settings.ASM_JS: js_optimizer_queue += ['closure'] |