Skip to content

Commit 4077ab8

Browse files
chore: disable debugging features of qjs
1 parent ff5a06f commit 4077ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shell/script/quickjs/quickjs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@
7777
#define __extension__
7878
#endif
7979

80-
#define ENABLE_DUMPS
8180
#ifndef NDEBUG
81+
#define ENABLE_DUMPS
8282
#endif
8383

84-
#define FORCE_GC_AT_MALLOC /* test the GC by forcing it before each object allocation */
84+
// #define FORCE_GC_AT_MALLOC /* test the GC by forcing it before each object allocation */
8585

8686
#define check_dump_flag(rt, flag) ((rt->dump_flags & (flag +0)) == (flag +0))
8787

0 commit comments

Comments
 (0)