aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-31 11:49:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-31 11:49:14 -0800
commitada59f0a9d23d8ec19ee6a1326977ddf6e93f5f9 (patch)
tree1e1f079b5569ae2d7269ff2abf4b520ad82d3cdd /emcc
parent2f4401a79e96917f78876c3e09b8d31754a26f70 (diff)
parente97f48a2c9376354a6b8927191322322f13808ba (diff)
Merge branch 'incoming'
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 0 insertions, 2 deletions
diff --git a/emcc b/emcc
index 9747dc68..87fb2672 100755
--- a/emcc
+++ b/emcc
@@ -1050,7 +1050,6 @@ try:
if not LEAVE_INPUTS_RAW:
link_opts = [] if keep_debug else ['-strip-debug']
if llvm_opts > 0:
- if DEBUG: print >> sys.stderr, 'emcc: LLVM -O%d' % llvm_opts
shared.Building.llvm_opt(in_temp(target_basename + '.bc'), llvm_opts)
if DEBUG: save_intermediate('opt', 'bc')
# Do LTO in a separate pass to work around LLVM bug XXX (see failure e.g. in cubescript)
@@ -1063,7 +1062,6 @@ 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 DEBUG: print >> sys.stderr, 'emcc: LLVM linktime:', link_opts
shared.Building.llvm_opt(in_temp(target_basename + '.bc'), link_opts)
if DEBUG: save_intermediate('linktime', 'bc')