duktape 2.3.0.0 → 2.7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fb1c81939c930da5931c156d092800ce1a1d46db
4
- data.tar.gz: fddc0fee4d0b9b047ca9ccab96f80e7e5e511590
2
+ SHA256:
3
+ metadata.gz: e0c07bd35700bfc9920c390afc4b53446ab297e6ac4043888c38b988d7307ce4
4
+ data.tar.gz: d0bfa4bc40608a84b0e0bd480343cb1e8ed2b9a323dc90b1fa34b2266dcece17
5
5
  SHA512:
6
- metadata.gz: 2235641010578d7a47564799435145360357389e358f6a1611372782629fff551e0c70d998189afda7801479847c098e5d49d0b80bba0ec34ee34d5f9d4bd8b4
7
- data.tar.gz: 80e1165ed988c883fa90f59f2ce7a38d12d66e50f923ac30f94acadb7b473f7d05feb8f192673be1306eb39b069170739f8df97ee021eb8598769f3c5f4901d5
6
+ metadata.gz: ce511943157f35b4b6baa103f7fff885ff433776c020eb85dcb0822cb046b04b0ba22641a5c1d3be1d4fbee459991d5a7db186d206f25541f75f42f680771e07
7
+ data.tar.gz: 129590285212b45ae680ae813acd6f98aa7a3432431407dd8922a6897740909350d23a1ade16def0824305e67b8cef45a10e4f23aa0cd944dfbd9ef0021f1fe2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # ChangeLog
2
2
 
3
+ ## v2.7.0.0 (2023-02-12)
4
+
5
+ * Upgrade to Duktape v2.7.0
6
+
7
+ ## v2.6.0.0 (2021-01-31)
8
+
9
+ * Upgrade to Duktape v2.6.0
10
+
3
11
  ## v2.3.0.0 (2019-05-15)
4
12
 
5
13
  * Upgrade to Duktape v2.3.0
@@ -70,4 +78,3 @@
70
78
  * Upgraded Duktape to version 2.0.1
71
79
  * ContextError now includes the error message from Duktape
72
80
  * README and CHANGELOG is now included in gem
73
-
@@ -1,9 +1,9 @@
1
1
  /*
2
2
  * duk_config.h configuration header generated by genconfig.py.
3
3
  *
4
- * Git commit: 7551eee6615c2633375bff51ceb297bc3bc7c77e
5
- * Git describe: v2.0.1.0-5-g7551eee-dirty
6
- * Git branch: master
4
+ * Git commit: 03d4d728f8365021de6955c649e6dcd05dcca99f
5
+ * Git describe: v2.7.0
6
+ * Git branch: HEAD
7
7
  *
8
8
  * Supported platforms:
9
9
  * - Mac OSX, iPhone, Darwin
@@ -18,6 +18,7 @@
18
18
  * - QNX
19
19
  * - TI-Nspire
20
20
  * - Emscripten
21
+ * - Android
21
22
  * - Linux
22
23
  * - Solaris
23
24
  * - AIX
@@ -39,6 +40,8 @@
39
40
  * - PowerPC 64-bit
40
41
  * - SPARC 32-bit
41
42
  * - SPARC 64-bit
43
+ * - RISC-V 32-bit
44
+ * - RISC-V 64-bit
42
45
  * - SuperH
43
46
  * - Motorola 68k
44
47
  * - Emscripten
@@ -170,6 +173,10 @@
170
173
  #define DUK_F_BCC
171
174
  #endif
172
175
 
176
+ #if defined(ANDROID) || defined(__ANDROID__)
177
+ #define DUK_F_ANDROID
178
+ #endif
179
+
173
180
  /* Linux */
174
181
  #if defined(__linux) || defined(__linux__) || defined(linux)
175
182
  #define DUK_F_LINUX
@@ -246,9 +253,9 @@
246
253
  #endif
247
254
 
248
255
  /* ARM */
249
- #if defined(__arm__) || defined(__thumb__) || defined(_ARM) || defined(_M_ARM) || defined(__aarch64__)
256
+ #if defined(__arm__) || defined(__thumb__) || defined(_ARM) || defined(_M_ARM) || defined(_M_ARM64) || defined(__aarch64__)
250
257
  #define DUK_F_ARM
251
- #if defined(__LP64__) || defined(_LP64) || defined(__arm64) || defined(__arm64__) || defined(__aarch64__)
258
+ #if defined(__LP64__) || defined(_LP64) || defined(__arm64) || defined(__arm64__) || defined(_M_ARM64) || defined(__aarch64__)
252
259
  #define DUK_F_ARM64
253
260
  #else
254
261
  #define DUK_F_ARM32
@@ -280,6 +287,22 @@
280
287
  #endif
281
288
  #endif
282
289
 
290
+ /* RISC-V, https://github.com/riscv/riscv-toolchain-conventions#cc-preprocessor-definitions */
291
+ #if defined(__riscv)
292
+ #define DUK_F_RISCV
293
+ #if defined(__riscv_xlen)
294
+ #if (__riscv_xlen == 32)
295
+ #define DUK_F_RISCV32
296
+ #elif (__riscv_xlen == 64)
297
+ #define DUK_F_RISCV64
298
+ #else
299
+ #error __riscv_xlen has unsupported value (not 32 or 64)
300
+ #endif
301
+ #else
302
+ #error __riscv defined without __riscv_xlen
303
+ #endif
304
+ #endif /* __riscv */
305
+
283
306
  /* SuperH */
284
307
  #if defined(__sh__) || \
285
308
  defined(__sh1__) || defined(__SH1__) || \
@@ -356,10 +379,6 @@
356
379
  #define DUK_F_VBCC
357
380
  #endif
358
381
 
359
- #if defined(ANDROID) || defined(__ANDROID__)
360
- #define DUK_F_ANDROID
361
- #endif
362
-
363
382
  /* Atari Mint */
364
383
  #if defined(__MINT__)
365
384
  #define DUK_F_MINT
@@ -665,6 +684,41 @@
665
684
  #define DUK_USE_DATE_FMT_STRFTIME
666
685
 
667
686
  #define DUK_USE_OS_STRING "emscripten"
687
+ #elif defined(DUK_F_ANDROID)
688
+ /* --- Android --- */
689
+ #if defined(DUK_COMPILING_DUKTAPE)
690
+ #if !defined(_POSIX_C_SOURCE)
691
+ #define _POSIX_C_SOURCE 200809L
692
+ #endif
693
+ #if !defined(_GNU_SOURCE)
694
+ #define _GNU_SOURCE /* e.g. getdate_r */
695
+ #endif
696
+ #if !defined(_XOPEN_SOURCE)
697
+ #define _XOPEN_SOURCE /* e.g. strptime */
698
+ #endif
699
+ #endif /* DUK_COMPILING_DUKTAPE */
700
+
701
+ #include <sys/types.h>
702
+ #if defined(DUK_F_BCC)
703
+ /* no endian.h or stdint.h */
704
+ #else
705
+ #include <endian.h>
706
+ #include <stdint.h>
707
+ #endif /* DUK_F_BCC */
708
+ #include <sys/param.h>
709
+ #include <sys/time.h>
710
+ #include <time.h>
711
+
712
+ #define DUK_USE_DATE_NOW_GETTIMEOFDAY
713
+ #define DUK_USE_DATE_TZO_GMTIME_R
714
+ #define DUK_USE_DATE_PRS_STRPTIME
715
+ #define DUK_USE_DATE_FMT_STRFTIME
716
+
717
+ #if 0 /* XXX: safe condition? */
718
+ #define DUK_USE_GET_MONOTONIC_TIME_CLOCK_GETTIME
719
+ #endif
720
+
721
+ #define DUK_USE_OS_STRING "android"
668
722
  #elif defined(DUK_F_LINUX)
669
723
  /* --- Linux --- */
670
724
  #if defined(DUK_COMPILING_DUKTAPE)
@@ -715,7 +769,7 @@
715
769
  #define DUK_USE_BYTEORDER 3
716
770
  #endif
717
771
  #else /* DUK_F_OLD_SOLARIS */
718
- #include <ast/endian.h>
772
+ #include <sys/param.h>
719
773
  #endif /* DUK_F_OLD_SOLARIS */
720
774
 
721
775
  #include <sys/param.h>
@@ -910,9 +964,7 @@
910
964
  #elif defined(DUK_F_PPC64)
911
965
  /* --- PowerPC 64-bit --- */
912
966
  #define DUK_USE_ARCH_STRING "ppc64"
913
- #if !defined(DUK_USE_BYTEORDER)
914
- #define DUK_USE_BYTEORDER 3
915
- #endif
967
+ /* No forced byteorder (both little and big endian are possible). */
916
968
  #undef DUK_USE_PACKED_TVAL
917
969
  #define DUK_F_PACKED_TVAL_PROVIDED
918
970
  #elif defined(DUK_F_SPARC32)
@@ -927,6 +979,18 @@
927
979
  /* SPARC byte order varies so rely on autodetection. */
928
980
  #undef DUK_USE_PACKED_TVAL
929
981
  #define DUK_F_PACKED_TVAL_PROVIDED
982
+ #elif defined(DUK_F_RISCV32)
983
+ /* --- RISC-V 32-bit --- */
984
+ #define DUK_USE_ARCH_STRING "riscv32"
985
+ #define DUK_USE_BYTEORDER 1
986
+ #define DUK_USE_PACKED_TVAL
987
+ #define DUK_F_PACKED_TVAL_PROVIDED
988
+ #elif defined(DUK_F_RISCV64)
989
+ /* --- RISC-V 64-bit --- */
990
+ #define DUK_USE_ARCH_STRING "riscv64"
991
+ #define DUK_USE_BYTEORDER 1
992
+ #undef DUK_USE_PACKED_TVAL
993
+ #define DUK_F_PACKED_TVAL_PROVIDED
930
994
  #elif defined(DUK_F_SUPERH)
931
995
  /* --- SuperH --- */
932
996
  #define DUK_USE_ARCH_STRING "sh"
@@ -1067,8 +1131,20 @@
1067
1131
  #define DUK_USE_FLEX_ZEROSIZE
1068
1132
  #endif
1069
1133
 
1070
- #undef DUK_USE_GCC_PRAGMAS
1134
+ #define DUK_USE_CLANG_PRAGMAS
1071
1135
  #define DUK_USE_PACK_CLANG_ATTR
1136
+
1137
+ #if defined(__clang__) && defined(__has_builtin)
1138
+ #if __has_builtin(__builtin_bswap64)
1139
+ #define DUK_BSWAP64(x) ((duk_uint64_t) __builtin_bswap64((duk_uint64_t) (x)))
1140
+ #endif
1141
+ #if __has_builtin(__builtin_bswap32)
1142
+ #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x)))
1143
+ #endif
1144
+ #if __has_builtin(__builtin_bswap16)
1145
+ #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x)))
1146
+ #endif
1147
+ #endif
1072
1148
  #elif defined(DUK_F_GCC)
1073
1149
  /* --- GCC --- */
1074
1150
  #if defined(DUK_F_C99) || defined(DUK_F_CPP11)
@@ -1079,13 +1155,17 @@
1079
1155
  #define DUK_VA_COPY(dest,src) __va_copy(dest,src)
1080
1156
  #endif
1081
1157
 
1082
- #if defined(DUK_F_GCC_VERSION) && (DUK_F_GCC_VERSION >= 20500L)
1083
- /* since gcc-2.5 */
1158
+ #if defined(DUK_F_GCC_VERSION) && (DUK_F_GCC_VERSION >= 20500L) && (DUK_F_GCC_VERSION < 50000L)
1159
+ /* Since gcc-2.5.
1160
+ *
1161
+ * Disabled temporarily in GCC 5+ because of an unresolved noreturn-related
1162
+ * issue: https://github.com/svaarala/duktape/issues/2155.
1163
+ */
1084
1164
  #define DUK_NORETURN(decl) decl __attribute__((noreturn))
1085
1165
  #endif
1086
1166
 
1087
1167
  #if defined(DUK_F_GCC_VERSION) && (DUK_F_GCC_VERSION >= 40500L)
1088
- /* since gcc-4.5 */
1168
+ /* Since gcc-4.5. */
1089
1169
  #define DUK_UNREACHABLE() do { __builtin_unreachable(); } while (0)
1090
1170
  #endif
1091
1171
 
@@ -1191,6 +1271,7 @@
1191
1271
  #define DUK_USE_FLEX_ZEROSIZE
1192
1272
  #endif
1193
1273
 
1274
+ /* Since 4.6 one can '#pragma GCC diagnostic push/pop'. */
1194
1275
  #if defined(DUK_F_GCC_VERSION) && (DUK_F_GCC_VERSION >= 40600)
1195
1276
  #define DUK_USE_GCC_PRAGMAS
1196
1277
  #else
@@ -1198,6 +1279,16 @@
1198
1279
  #endif
1199
1280
 
1200
1281
  #define DUK_USE_PACK_GCC_ATTR
1282
+
1283
+ /* Availability varies based on platform (between GCC 4.4 and 4.8), and there
1284
+ * are apparently some bugs in GCC 4.x. Check for GCC 5.0 before enabling
1285
+ * these to be safe.
1286
+ */
1287
+ #if defined(DUK_F_GCC_VERSION) && (DUK_F_GCC_VERSION >= 50000L)
1288
+ #define DUK_BSWAP64(x) ((duk_uint64_t) __builtin_bswap64((duk_uint64_t) (x)))
1289
+ #define DUK_BSWAP32(x) ((duk_uint32_t) __builtin_bswap32((duk_uint32_t) (x)))
1290
+ #define DUK_BSWAP16(x) ((duk_uint16_t) __builtin_bswap16((duk_uint16_t) (x)))
1291
+ #endif
1201
1292
  #elif defined(DUK_F_MSVC)
1202
1293
  /* --- MSVC --- */
1203
1294
  /* http://msdn.microsoft.com/en-us/library/aa235362(VS.60).aspx */
@@ -2504,7 +2595,7 @@ typedef struct duk_hthread duk_context;
2504
2595
  #define DUK_USE_ALIGN_BY 8
2505
2596
  #endif
2506
2597
 
2507
- /* Compiler specific hackery needed to force struct size to match aligment,
2598
+ /* Compiler specific hackery needed to force struct size to match alignment,
2508
2599
  * see e.g. duk_hbuffer.h.
2509
2600
  *
2510
2601
  * http://stackoverflow.com/questions/11130109/c-struct-size-alignment
@@ -2515,6 +2606,13 @@ typedef struct duk_hthread duk_context;
2515
2606
  #define DUK_USE_PACK_DUMMY_MEMBER
2516
2607
  #endif
2517
2608
 
2609
+ #if !defined(DUK_U64_CONSTANT)
2610
+ #define DUK_U64_CONSTANT(x) x##ULL
2611
+ #endif
2612
+ #if !defined(DUK_I64_CONSTANT)
2613
+ #define DUK_I64_CONSTANT(x) x##LL
2614
+ #endif
2615
+
2518
2616
  #if !defined(DUK_VA_COPY)
2519
2617
  /* We need va_copy() which is defined in C99 / C++11, so an awkward
2520
2618
  * replacement is needed for pre-C99 / pre-C++11 environments. This
@@ -2579,12 +2677,15 @@ typedef struct duk_hthread duk_context;
2579
2677
  #define DUK_WO_NORETURN(stmt) do { stmt } while (0)
2580
2678
  #endif
2581
2679
 
2582
- #if !defined(DUK_UNREACHABLE)
2680
+ #if defined(DUK_UNREACHABLE)
2681
+ #define DUK_WO_UNREACHABLE(stmt) do { } while (0)
2682
+ #else
2583
2683
  /* Don't know how to declare unreachable point, so don't do it; this
2584
2684
  * may cause some spurious compilation warnings (e.g. "variable used
2585
2685
  * uninitialized").
2586
2686
  */
2587
2687
  #define DUK_UNREACHABLE() do { } while (0)
2688
+ #define DUK_WO_UNREACHABLE(stmt) do { stmt } while (0)
2588
2689
  #endif
2589
2690
 
2590
2691
  #if !defined(DUK_LOSE_CONST)
@@ -2665,17 +2766,30 @@ typedef struct duk_hthread duk_context;
2665
2766
  #endif
2666
2767
  #endif
2667
2768
 
2769
+ #if defined(DUK_F_HAVE_64BIT)
2770
+ #if !defined(DUK_BSWAP64)
2771
+ #define DUK_BSWAP64(x) \
2772
+ ((((duk_uint64_t) (x)) >> 56U) | \
2773
+ ((((duk_uint64_t) (x)) >> 40U) & DUK_U64_CONSTANT(0xff00)) | \
2774
+ ((((duk_uint64_t) (x)) >> 24U) & DUK_U64_CONSTANT(0xff0000)) | \
2775
+ ((((duk_uint64_t) (x)) >> 8U) & DUK_U64_CONSTANT(0xff000000)) | \
2776
+ ((((duk_uint64_t) (x)) << 8U) & DUK_U64_CONSTANT(0xff00000000)) | \
2777
+ ((((duk_uint64_t) (x)) << 24U) & DUK_U64_CONSTANT(0xff0000000000)) | \
2778
+ ((((duk_uint64_t) (x)) << 40U) & DUK_U64_CONSTANT(0xff000000000000)) | \
2779
+ (((duk_uint64_t) (x)) << 56U))
2780
+ #endif
2781
+ #endif
2668
2782
  #if !defined(DUK_BSWAP32)
2669
2783
  #define DUK_BSWAP32(x) \
2670
- ((((duk_uint32_t) (x)) >> 24) | \
2671
- ((((duk_uint32_t) (x)) >> 8) & 0xff00UL) | \
2672
- ((((duk_uint32_t) (x)) << 8) & 0xff0000UL) | \
2673
- (((duk_uint32_t) (x)) << 24))
2784
+ ((((duk_uint32_t) (x)) >> 24U) | \
2785
+ ((((duk_uint32_t) (x)) >> 8U) & 0xff00UL) | \
2786
+ ((((duk_uint32_t) (x)) << 8U) & 0xff0000UL) | \
2787
+ (((duk_uint32_t) (x)) << 24U))
2674
2788
  #endif
2675
2789
  #if !defined(DUK_BSWAP16)
2676
2790
  #define DUK_BSWAP16(x) \
2677
- ((duk_uint16_t) (x) >> 8) | \
2678
- ((duk_uint16_t) (x) << 8)
2791
+ ((duk_uint16_t) (x) >> 8U) | \
2792
+ ((duk_uint16_t) (x) << 8U)
2679
2793
  #endif
2680
2794
 
2681
2795
  /* DUK_USE_VARIADIC_MACROS: required from compilers, so no fill-in. */
@@ -2698,13 +2812,6 @@ typedef struct duk_hthread duk_context;
2698
2812
  #undef DUK_USE_GCC_PRAGMAS
2699
2813
  #endif
2700
2814
 
2701
- #if !defined(DUK_U64_CONSTANT)
2702
- #define DUK_U64_CONSTANT(x) x##ULL
2703
- #endif
2704
- #if !defined(DUK_I64_CONSTANT)
2705
- #define DUK_I64_CONSTANT(x) x##LL
2706
- #endif
2707
-
2708
2815
  /* Workaround for GH-323: avoid inlining control when compiling from
2709
2816
  * multiple sources, as it causes compiler portability trouble.
2710
2817
  */
@@ -2786,6 +2893,20 @@ typedef struct duk_hthread duk_context;
2786
2893
  #error __FAST_MATH__ defined, refusing to compile
2787
2894
  #endif
2788
2895
 
2896
+ /*
2897
+ * Forced options
2898
+ */
2899
+
2900
+ #define DUK_USE_DEBUGGER_DUMPHEAP
2901
+ #define DUK_USE_DEBUGGER_INSPECT
2902
+ #define DUK_USE_DEBUGGER_SUPPORT
2903
+ #define DUK_USE_FASTINT
2904
+ #define DUK_USE_FATAL_HANDLER(udata,msg) do { const char *fatal_msg = (msg); fprintf(stderr, "*** FATAL ERROR: %s\n", fatal_msg ? fatal_msg : "no message"); fflush(stderr); *((volatile unsigned int *) 0) = (unsigned int) 0xdeadbeefUL; abort(); } while(0)
2905
+ #define DUK_USE_INTERRUPT_COUNTER
2906
+ #define DUK_USE_JSON_STRINGIFY_FASTPATH
2907
+ #define DUK_USE_SELF_TESTS
2908
+ #define DUK_USE_TARGET_INFO "duk command built from Duktape repo"
2909
+
2789
2910
  /*
2790
2911
  * Autogenerated defaults
2791
2912
  */
@@ -2807,7 +2928,10 @@ typedef struct duk_hthread duk_context;
2807
2928
  #define DUK_USE_CACHE_ACTIVATION
2808
2929
  #define DUK_USE_CACHE_CATCHER
2809
2930
  #define DUK_USE_CALLSTACK_LIMIT 10000
2810
- #define DUK_USE_COMMONJS_MODULES
2931
+ #define DUK_USE_CBOR_BUILTIN
2932
+ #define DUK_USE_CBOR_DEC_RECLIMIT 1000
2933
+ #define DUK_USE_CBOR_ENC_RECLIMIT 1000
2934
+ #define DUK_USE_CBOR_SUPPORT
2811
2935
  #define DUK_USE_COMPILER_RECLIMIT 2500
2812
2936
  #define DUK_USE_COROUTINE_SUPPORT
2813
2937
  #undef DUK_USE_CPP_EXCEPTIONS
@@ -2821,10 +2945,7 @@ typedef struct duk_hthread duk_context;
2821
2945
  #undef DUK_USE_DATE_PARSE_STRING
2822
2946
  #undef DUK_USE_DATE_PRS_GETDATE
2823
2947
  #undef DUK_USE_DEBUG
2824
- #undef DUK_USE_DEBUGGER_DUMPHEAP
2825
- #undef DUK_USE_DEBUGGER_INSPECT
2826
2948
  #undef DUK_USE_DEBUGGER_PAUSE_UNCAUGHT
2827
- #undef DUK_USE_DEBUGGER_SUPPORT
2828
2949
  #define DUK_USE_DEBUGGER_THROW_NOTIFY
2829
2950
  #undef DUK_USE_DEBUGGER_TRANSPORT_TORTURE
2830
2951
  #define DUK_USE_DEBUG_BUFSIZE 65536L
@@ -2856,9 +2977,7 @@ typedef struct duk_hthread duk_context;
2856
2977
  #undef DUK_USE_EXPLICIT_NULL_INIT
2857
2978
  #undef DUK_USE_EXTSTR_FREE
2858
2979
  #undef DUK_USE_EXTSTR_INTERN_CHECK
2859
- #undef DUK_USE_FASTINT
2860
2980
  #define DUK_USE_FAST_REFCOUNT_DEFAULT
2861
- #undef DUK_USE_FATAL_HANDLER
2862
2981
  #define DUK_USE_FATAL_MAXLEN 128
2863
2982
  #define DUK_USE_FINALIZER_SUPPORT
2864
2983
  #undef DUK_USE_FINALIZER_TORTURE
@@ -2871,7 +2990,7 @@ typedef struct duk_hthread duk_context;
2871
2990
  #undef DUK_USE_GC_TORTURE
2872
2991
  #undef DUK_USE_GET_MONOTONIC_TIME
2873
2992
  #undef DUK_USE_GET_RANDOM_DOUBLE
2874
- #undef DUK_USE_GLOBAL_BINDING
2993
+ #define DUK_USE_GLOBAL_BINDING
2875
2994
  #define DUK_USE_GLOBAL_BUILTIN
2876
2995
  #undef DUK_USE_HEAPPTR16
2877
2996
  #undef DUK_USE_HEAPPTR_DEC16
@@ -2879,6 +2998,7 @@ typedef struct duk_hthread duk_context;
2879
2998
  #define DUK_USE_HEX_FASTPATH
2880
2999
  #define DUK_USE_HEX_SUPPORT
2881
3000
  #define DUK_USE_HOBJECT_ARRAY_ABANDON_LIMIT 2
3001
+ #define DUK_USE_HOBJECT_ARRAY_ABANDON_MINSIZE 257
2882
3002
  #define DUK_USE_HOBJECT_ARRAY_FAST_RESIZE_LIMIT 9
2883
3003
  #define DUK_USE_HOBJECT_ARRAY_MINGROW_ADD 16
2884
3004
  #define DUK_USE_HOBJECT_ARRAY_MINGROW_DIVISOR 8
@@ -2893,7 +3013,6 @@ typedef struct duk_hthread duk_context;
2893
3013
  #define DUK_USE_HTML_COMMENTS
2894
3014
  #define DUK_USE_IDCHAR_FASTPATH
2895
3015
  #undef DUK_USE_INJECT_HEAP_ALLOC_ERROR
2896
- #undef DUK_USE_INTERRUPT_COUNTER
2897
3016
  #undef DUK_USE_INTERRUPT_DEBUG_FIXUP
2898
3017
  #define DUK_USE_JC
2899
3018
  #define DUK_USE_JSON_BUILTIN
@@ -2903,7 +3022,6 @@ typedef struct duk_hthread duk_context;
2903
3022
  #define DUK_USE_JSON_EATWHITE_FASTPATH
2904
3023
  #define DUK_USE_JSON_ENC_RECLIMIT 1000
2905
3024
  #define DUK_USE_JSON_QUOTESTRING_FASTPATH
2906
- #undef DUK_USE_JSON_STRINGIFY_FASTPATH
2907
3025
  #define DUK_USE_JSON_SUPPORT
2908
3026
  #define DUK_USE_JX
2909
3027
  #define DUK_USE_LEXER_SLIDING_WINDOW
@@ -2912,6 +3030,7 @@ typedef struct duk_hthread duk_context;
2912
3030
  #define DUK_USE_MARK_AND_SWEEP_RECLIMIT 256
2913
3031
  #define DUK_USE_MATH_BUILTIN
2914
3032
  #define DUK_USE_NATIVE_CALL_RECLIMIT 1000
3033
+ #undef DUK_USE_NATIVE_STACK_CHECK
2915
3034
  #define DUK_USE_NONSTD_ARRAY_SPLICE_DELCOUNT
2916
3035
  #undef DUK_USE_NONSTD_FUNC_CALLER_PROPERTY
2917
3036
  #undef DUK_USE_NONSTD_FUNC_SOURCE_PROPERTY
@@ -2944,7 +3063,6 @@ typedef struct duk_hthread duk_context;
2944
3063
  #define DUK_USE_ROM_PTRCOMP_FIRST 63488L
2945
3064
  #undef DUK_USE_ROM_STRINGS
2946
3065
  #define DUK_USE_SECTION_B
2947
- #undef DUK_USE_SELF_TESTS
2948
3066
  #define DUK_USE_SHEBANG_COMMENTS
2949
3067
  #undef DUK_USE_SHUFFLE_TORTURE
2950
3068
  #define DUK_USE_SOURCE_NONBMP
@@ -2962,12 +3080,10 @@ typedef struct duk_hthread duk_context;
2962
3080
  #define DUK_USE_STRTAB_RESIZE_CHECK_MASK 255
2963
3081
  #define DUK_USE_STRTAB_SHRINK_LIMIT 6
2964
3082
  #undef DUK_USE_STRTAB_TORTURE
2965
- #undef DUK_USE_SYMBOL_BUILTIN
3083
+ #define DUK_USE_SYMBOL_BUILTIN
2966
3084
  #define DUK_USE_TAILCALL
2967
- #define DUK_USE_TARGET_INFO "unknown"
2968
3085
  #define DUK_USE_TRACEBACKS
2969
3086
  #define DUK_USE_TRACEBACK_DEPTH 10
2970
- #define DUK_USE_USER_DECLARE() /* no user declarations */
2971
3087
  #define DUK_USE_VALSTACK_GROW_SHIFT 2
2972
3088
  #define DUK_USE_VALSTACK_LIMIT 1000000L
2973
3089
  #define DUK_USE_VALSTACK_SHRINK_CHECK_SHIFT 2