summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2015-08-15 09:57:09 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2015-08-15 10:00:35 +0000
commita7fb19f3a90372ddd84911e793413d9ceb244a07 (patch)
treeb9bdfb0e825921f01024d7e9477e37699109d72f /javascript
parent1088c4cd38cdc314712d2ee428389872a5450c2b (diff)
downloadnetsurf-a7fb19f3a90372ddd84911e793413d9ceb244a07.tar.gz
netsurf-a7fb19f3a90372ddd84911e793413d9ceb244a07.tar.bz2
JS: use deep stack, regardless of platform.
Without enabling this, the compiler recursion limit will be hit when parsing most non-trivial JS libraries.
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/duk_custom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/javascript/duktape/duk_custom.h b/javascript/duktape/duk_custom.h
index da9407f27..625c6ba24 100644
--- a/javascript/duktape/duk_custom.h
+++ b/javascript/duktape/duk_custom.h
@@ -27,3 +27,5 @@
#undef DUK_USE_DATE_PRS_GETDATE
#undef DUK_USE_DATE_PARSE_STRING
#endif
+
+#define DUK_USE_DEEP_C_STACK