allow main module shell code to be cleaned up

This commit is contained in:
Alon Zakai 2015-05-07 13:52:55 -07:00
Родитель ee038821a1
Коммит 02cd97005b
1 изменённых файлов: 1 добавлений и 1 удалений

2
emcc
Просмотреть файл

@ -1472,7 +1472,7 @@ try:
if closure == 1:
js_optimizer_queue += ['closure']
elif debug_level <= 2 and not shared.Settings.MAIN_MODULE and shared.Settings.FINALIZE_ASM_JS and not closure:
elif debug_level <= 2 and shared.Settings.FINALIZE_ASM_JS and not closure:
js_optimizer_queue += ['cleanup']
if js_opts: