aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-28 11:22:14 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-28 11:33:24 -0500
commit7880f929b46de2da7910d2050eac40bfbf32bda7 (patch)
treee9f60dac2ba43b1eac271421099da2ab4b210d82 /src
parent39f68160b61b0d358edf36bfb220486da79909d8 (diff)
inline by default, now that lto is off by default
Diffstat (limited to 'src')
-rw-r--r--src/settings.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settings.js b/src/settings.js
index 82cbebe4..3fd31326 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -107,10 +107,11 @@ var SKIP_STACK_IN_SMALL = 1; // When enabled, does not push/pop the stack at all
// In particular, be careful with the autodebugger! (We do turn
// this off automatically in that case, though.)
var INLINE_LIBRARY_FUNCS = 1; // Will inline library functions that have __inline defined
-var INLINING_LIMIT = 50; // A limit on inlining. If 0, we will inline normally in LLVM and
+var INLINING_LIMIT = 0; // A limit on inlining. If 0, we will inline normally in LLVM and
// closure. If greater than 0, we will *not* inline in LLVM, and
// we will prevent inlining of functions of this size or larger
- // in closure.
+ // in closure. 50 is a reasonable setting if you do not want
+ // inlining
var CATCH_EXIT_CODE = 0; // If set, causes exit() to throw an exception object which is caught
// in a try..catch block and results in the exit status being
// returned from run(). If zero (the default), the program is just