From 7efc52c3d3982e2fac44240aaca5b627c40bd94d Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 3 Jul 2021 22:43:47 +0100 Subject: [PATCH] Meta: Remove the LibJS OBJECT_DEBUG debug macro I didn't add any debug logging to the object rewrite, so this is now unused. It's much more correct though, so we can get away with adding ad-hoc logging, should that ever be necessary :^) Side note: this should have a prefix, i.e. JS_OBJECT_DEBUG. The previous name is too generic. --- AK/Debug.h.in | 4 ---- Meta/CMake/all_the_debug_macros.cmake | 1 - 2 files changed, 5 deletions(-) diff --git a/AK/Debug.h.in b/AK/Debug.h.in index 2f0735e8fbd..c96874d4b3f 100644 --- a/AK/Debug.h.in +++ b/AK/Debug.h.in @@ -302,10 +302,6 @@ #cmakedefine01 NT_DEBUG #endif -#ifndef OBJECT_DEBUG -#cmakedefine01 OBJECT_DEBUG -#endif - #ifndef OCCLUSIONS_DEBUG #cmakedefine01 OCCLUSIONS_DEBUG #endif diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake index 5f78cbff8f4..b9c8c70658a 100644 --- a/Meta/CMake/all_the_debug_macros.cmake +++ b/Meta/CMake/all_the_debug_macros.cmake @@ -119,7 +119,6 @@ set(MULTIPROCESSOR_DEBUG ON) set(NE2000_DEBUG ON) set(NETWORK_TASK_DEBUG ON) set(NT_DEBUG ON) -set(OBJECT_DEBUG ON) set(OCCLUSIONS_DEBUG ON) set(OFFD_DEBUG ON) set(PAGE_FAULT_DEBUG ON)