Skip to content

Commit 869a1b7

Browse files
committed
don't prevent closure inlining in asm, we don't run asm anyhow
1 parent c51a379 commit 869a1b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jsifier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ function JSify(data, functionsOnly, givenFunctions) {
752752
func.JS += 'Module["' + func.ident + '"] = ' + func.ident + ';';
753753
}
754754

755-
if (INLINING_LIMIT && func.lines.length >= INLINING_LIMIT) {
755+
if (!ASM_JS && INLINING_LIMIT && func.lines.length >= INLINING_LIMIT) {
756756
func.JS += func.ident + '["X"]=1;';
757757
}
758758

0 commit comments

Comments
 (0)