summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape/duk_custom.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-04-20 12:12:29 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-04-20 12:12:29 +0100
commit6da983ca27c8b0690759d3fe1862d7cfa65648f5 (patch)
treea931a77a2acfb79d984f19235ffd603f5fcf727c /content/handlers/javascript/duktape/duk_custom.h
parent7e0ed132f7d3edb1681badc1fadaf5a0812d7768 (diff)
downloadnetsurf-6da983ca27c8b0690759d3fe1862d7cfa65648f5.tar.gz
netsurf-6da983ca27c8b0690759d3fe1862d7cfa65648f5.tar.bz2
Duktape: Enable fastints.
Suggested by svaarala.
Diffstat (limited to 'content/handlers/javascript/duktape/duk_custom.h')
-rw-r--r--content/handlers/javascript/duktape/duk_custom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/javascript/duktape/duk_custom.h b/content/handlers/javascript/duktape/duk_custom.h
index 1f98b7825..2ff931793 100644
--- a/content/handlers/javascript/duktape/duk_custom.h
+++ b/content/handlers/javascript/duktape/duk_custom.h
@@ -28,6 +28,7 @@
#undef DUK_USE_DATE_PARSE_STRING
#endif
+#define DUK_USE_FASTINT
#define DUK_USE_REGEXP_CANON_WORKAROUND
/* Required for execution timeout checking */