diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-06 20:52:53 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:24 -0800 |
commit | 869a1b71291122beb210e0e9d37e86effbde1f62 (patch) | |
tree | 30c3cf5ee4af81adf1e5647de6b72600e8af92ef | |
parent | c51a379ec1cdc254366a0f9eebfea7411a03b1e3 (diff) |
don't prevent closure inlining in asm, we don't run asm anyhow
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 7a241ecb..7e66d426 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -752,7 +752,7 @@ function JSify(data, functionsOnly, givenFunctions) { func.JS += 'Module["' + func.ident + '"] = ' + func.ident + ';'; } - if (INLINING_LIMIT && func.lines.length >= INLINING_LIMIT) { + if (!ASM_JS && INLINING_LIMIT && func.lines.length >= INLINING_LIMIT) { func.JS += func.ident + '["X"]=1;'; } |