diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-26 20:19:44 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-26 20:19:44 -0500 |
commit | f4cceb902a31810215858393dd80c24ef62f6f15 (patch) | |
tree | 1b5fc5ed21e1a62ddffb6bb8a9d2474e6c544253 /emcc | |
parent | 722c7b69e783724a3695bb85ecf22e9ae275729b (diff) |
fix DEBUG ? 2 checks
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1244,7 +1244,7 @@ try: def flush_js_optimizer_queue(): global final, js_optimizer_queue if len(js_optimizer_queue) > 0 and not(len(js_optimizer_queue) == 1 and js_optimizer_queue[0] == 'last'): - if DEBUG < 2: + if DEBUG != '2': if shared.Settings.ASM_JS: js_optimizer_queue = ['asm'] + js_optimizer_queue if DEBUG: print >> sys.stderr, 'emcc: applying js optimization passes:', js_optimizer_queue @@ -1263,7 +1263,7 @@ try: if opt_level >= 1: if DEBUG: print >> sys.stderr, 'emcc: running pre-closure post-opts' - if DEBUG >= 2: + if DEBUG == '2': # Clean up the syntax a bit final = shared.Building.js_optimizer(final, [], jcache) if DEBUG: save_intermediate('pretty') |