diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-19 21:32:41 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-19 21:32:41 -0800 |
commit | 0d3ef7fc935804229b530b8e8769ccd998e9390e (patch) | |
tree | 6dda2694ca46f9e8c70dbcac7f6d346229025718 /emcc | |
parent | e2a2542be7dbe4b50432702d94d4bf09ce539fd1 (diff) |
avoid llvm-dis in fastcomp
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |