summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opcache/jit/zend_jit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c
index 48647be057..4e7929662a 100644
--- a/ext/opcache/jit/zend_jit.c
+++ b/ext/opcache/jit/zend_jit.c
@@ -73,6 +73,10 @@ zend_jit_globals jit_globals;
#define DASM_M_FREE(ctx, p, sz) efree(p)
+#if ZEND_DEBUG
+# define DASM_CHECKS 1
+#endif
+
#include "dynasm/dasm_proto.h"
typedef struct _zend_jit_stub {