aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-21 15:13:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-21 15:13:43 -0700
commitab506b38dbb9acb2db4f1a1b8c1608cc57409a6b (patch)
treea0e10d13a0348ee5fd0ba1e17dcfe0bafa8a8691
parent5b5e5865346790df93789078d9adc95696b00b47 (diff)
only outline in asm.js mode, where it is supported
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index df2ef38c..0cd8ca2d 100755
--- a/emcc
+++ b/emcc
@@ -1631,7 +1631,7 @@ try:
if DEBUG: save_intermediate('closure')
if js_opts:
- if shared.Settings.OUTLINING_LIMIT > 0:
+ if shared.Settings.OUTLINING_LIMIT > 0 and shared.Settings.ASM_JS:
js_optimizer_queue += ['outline']
js_optimizer_extra_info['sizeToOutline'] = shared.Settings.OUTLINING_LIMIT