clean up debug logging of js optimizer passes

This commit is contained in:
Alon Zakai 2015-01-28 14:45:49 -08:00
Родитель 8b676449c4
Коммит 8f624300ab
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1412,7 +1412,7 @@ try:
passes += ['symbolMap='+target+'.symbols'] passes += ['symbolMap='+target+'.symbols']
if minify_whitespace and 'last' in passes: if minify_whitespace and 'last' in passes:
passes += ['minifyWhitespace'] passes += ['minifyWhitespace']
logging.debug('applying js optimization passes: %s', passes) logging.debug('applying js optimization passes: %s', ' '.join(passes))
final = shared.Building.js_optimizer(final, passes, jcache, debug_level >= 4, js_optimizer_extra_info, just_split=just_split, just_concat=just_concat) final = shared.Building.js_optimizer(final, passes, jcache, debug_level >= 4, js_optimizer_extra_info, just_split=just_split, just_concat=just_concat)
js_transform_tempfiles.append(final) js_transform_tempfiles.append(final)
if DEBUG: save_intermediate(title, suffix='js' if 'emitJSON' not in passes else 'json') if DEBUG: save_intermediate(title, suffix='js' if 'emitJSON' not in passes else 'json')