Skip to content

Commit

Permalink
Meta: Remove the LibJS OBJECT_DEBUG debug macro
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
linusg committed Jul 4, 2021
1 parent 8ade0df commit 7efc52c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions AK/Debug.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@
#cmakedefine01 NT_DEBUG
#endif

#ifndef OBJECT_DEBUG
#cmakedefine01 OBJECT_DEBUG
#endif

#ifndef OCCLUSIONS_DEBUG
#cmakedefine01 OCCLUSIONS_DEBUG
#endif
Expand Down
1 change: 0 additions & 1 deletion Meta/CMake/all_the_debug_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7efc52c

Please sign in to comment.