summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-01-18 18:47:11 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-22 01:21:18 +0000
commit0b89dbc529cd5e0c1abe28318a638eba7450034a (patch)
treee2c4ee700b4c80681f054ba1ad4b59a2ac5d354f
parent55366703d045741b8f865f93e4cc4c17cba227ce (diff)
downloadserenity-0b89dbc529cd5e0c1abe28318a638eba7450034a.zip
Meta: Add JS_MODULE_DEBUG define flag
-rw-r--r--AK/Debug.h.in4
-rw-r--r--Meta/CMake/all_the_debug_macros.cmake1
2 files changed, 5 insertions, 0 deletions
diff --git a/AK/Debug.h.in b/AK/Debug.h.in
index b6c0c125c6..39315df5e6 100644
--- a/AK/Debug.h.in
+++ b/AK/Debug.h.in
@@ -238,6 +238,10 @@
#cmakedefine01 JS_BYTECODE_DEBUG
#endif
+#ifndef JS_MODULE_DEBUG
+#cmakedefine01 JS_MODULE_DEBUG
+#endif
+
#ifndef KEYBOARD_SHORTCUTS_DEBUG
#cmakedefine01 KEYBOARD_SHORTCUTS_DEBUG
#endif
diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake
index c71f3dc0c5..93d4ea06c9 100644
--- a/Meta/CMake/all_the_debug_macros.cmake
+++ b/Meta/CMake/all_the_debug_macros.cmake
@@ -95,6 +95,7 @@ set(ITEM_RECTS_DEBUG ON)
set(JOB_DEBUG ON)
set(JPG_DEBUG ON)
set(JS_BYTECODE_DEBUG ON)
+set(JS_MODULE_DEBUG ON)
set(KEYBOARD_DEBUG ON)
set(KEYBOARD_SHORTCUTS_DEBUG ON)
set(KMALLOC_DEBUG ON)