aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-24 10:55:37 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-24 10:55:37 -0800
commit4202310613cf8fa4c4c544fbc17aab55d8b6b37c (patch)
treee153ba07a028fdaa033beca69a0c75590fc244d7
parenta0ce0dce7d234ec0443849d5222e2dee800ab37f (diff)
fix LEAVE_INPUTS_RAW in fastcomp
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 39aa0ced..111093e2 100755
--- a/emcc
+++ b/emcc
@@ -1754,7 +1754,7 @@ try:
if DEBUG: save_intermediate('autodebug', 'll')
# Simplify bitcode after autodebug
- if os.environ.get('EMCC_FAST_COMPILER') and AUTODEBUG:
+ if os.environ.get('EMCC_FAST_COMPILER') and (AUTODEBUG or LEAVE_INPUTS_RAW):
shared.Building.llvm_opt(final, ['-pnacl-abi-simplify-preopt', '-pnacl-abi-simplify-postopt'], final + '.adsimp.bc')
final += '.adsimp.bc'
if DEBUG: save_intermediate('adsimp', 'bc')