diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-22 13:08:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-22 13:08:40 -0700 |
commit | 247ae2e571575d3f37933de0d76f8cdedc600f2b (patch) | |
tree | 8fef2e6b4b477e0c8e38adcd4c752a905fbea29e /src/settings.js | |
parent | 9a37f4ce7d3a36d106a04f2555f02e2e38e25ac5 (diff) |
show clear error message instead of 987 when too many setjmp calls
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js index 7cd0c02e..d30db173 100644 --- a/src/settings.js +++ b/src/settings.js @@ -55,7 +55,7 @@ var ALLOW_MEMORY_GROWTH = 0; // If false, we abort with an error if we try to al // that case we must be careful about optimizations, in particular the // eliminator). Note that memory growth is only supported with typed // arrays. -var MAX_SETJMPS = 10; // size of setjmp table allocated in each function invocation (that has setjmp) +var MAX_SETJMPS = 20; // size of setjmp table allocated in each function invocation (that has setjmp) // Code embetterments var MICRO_OPTS = 1; // Various micro-optimizations, like nativizing variables |