diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 17:20:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 17:20:59 -0700 |
commit | eda32b68ea4d04a7467fe1ece23813b8db5250a9 (patch) | |
tree | b42f21dc512d40261cda3e6353e9ba90be9156f5 /src/settings.js | |
parent | 73579052dae38b12067b350be0a11a74090d0dfe (diff) |
RELOOPER_BUFFER_SIZE to change the relooper buffer size easily1.5.8
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index e00f4e59..15bca4db 100644 --- a/src/settings.js +++ b/src/settings.js @@ -70,6 +70,8 @@ var MAX_SETJMPS = 20; // size of setjmp table allocated in each function invocat var MICRO_OPTS = 1; // Various micro-optimizations, like nativizing variables var RELOOP = 0; // Recreate js native loops from llvm data var RELOOPER = 'relooper.js'; // Loads the relooper from this path relative to compiler.js +var RELOOPER_BUFFER_SIZE = 20*1024*1024; // The internal relooper buffer size. Increase if you see assertions + // on OutputBuffer. var USE_TYPED_ARRAYS = 2; // Use typed arrays for the heap. See https://github.com/kripken/emscripten/wiki/Code-Generation-Modes/ // 0 means no typed arrays are used. This mode disallows LLVM optimizations |