aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-19 21:32:41 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-19 21:32:41 -0800
commit0d3ef7fc935804229b530b8e8769ccd998e9390e (patch)
tree6dda2694ca46f9e8c70dbcac7f6d346229025718 /emcc
parente2a2542be7dbe4b50432702d94d4bf09ce539fd1 (diff)
avoid llvm-dis in fastcomp
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 96d961dc..6d8cccb6 100755
--- a/emcc
+++ b/emcc
@@ -1683,7 +1683,7 @@ try:
else:
# At minimum remove dead functions etc., this potentially saves a lot in the size of the generated code (and the time to compile it)
link_opts += shared.Building.get_safe_internalize() + ['-globaldce']
- if not save_bc:
+ if not save_bc and not os.environ.get('EMCC_FAST_COMPILER') and not AUTODEBUG:
# let llvm opt directly emit ll, to skip writing and reading all the bitcode
link_opts += ['-S']
shared.Building.llvm_opt(final, link_opts, final + '.link.ll')