diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-01 18:37:13 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-01 18:37:13 -0800 |
commit | 1549a85427fe76243a5cd1191e57b0a9cb867e5a (patch) | |
tree | a951339c4ac9b83d86f42cb270b5ea98df6d32b7 /src/jsifier.js | |
parent | 97bcf966151e76ab22c4dcf701000efe1e08c3f6 (diff) |
llvm inlining support (disabled by default; enabled in benchmarks)
Diffstat (limited to 'src/jsifier.js')
-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 97d04055..e66f7b69 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -628,7 +628,7 @@ function JSify(data, functionsOnly, givenFunctions) { func.JS += 'Module["' + func.ident + '"] = ' + func.ident + ';'; } - if (func.lines.length >= CLOSURE_INLINE_PREVENTION_LINES) { + if (INLINING_LIMIT && func.lines.length >= INLINING_LIMIT) { func.JS += func.ident + '["X"]=1;'; } |