diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-16 14:32:17 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-16 14:32:17 -0800 |
commit | f935efc021ad86144c173c87ea5000b2aace0a6d (patch) | |
tree | c06380792fb7b029ddfbfdcbf745d49ef6941a62 /src/settings.js | |
parent | 3ec94c4eca1c859701d30f44abf588f023b6e395 (diff) |
tell closure compiler not to inline very large functions. use closure in all benchmarks
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index 7e076288..e8f65f58 100644 --- a/src/settings.js +++ b/src/settings.js @@ -71,6 +71,10 @@ SKIP_STACK_IN_SMALL = 1; // When enabled, does not push/pop the stack at all in // a lot can exhaust the stack very fast, with this option. // In particular, be careful with the autodebugger! INLINE_LIBRARY_FUNCS = 1; // Will inline library functions that have __inline defined +CLOSURE_INLINE_PREVENTION_LINES = 50; // Functions of this number of lines or larger will have + // code generated that tells the closure compiler not to + // inline them. This is useful to prevent the generation of + // overly large functions. // Generated code debugging options SAFE_HEAP = 0; // Check each write to the heap against a list of blocked addresses |