diff options
Diffstat (limited to 'dev/libSystem/src/VerifyCalls.cc')
| -rw-r--r-- | dev/libSystem/src/VerifyCalls.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dev/libSystem/src/VerifyCalls.cc b/dev/libSystem/src/VerifyCalls.cc deleted file mode 100644 index 1c00612f..00000000 --- a/dev/libSystem/src/VerifyCalls.cc +++ /dev/null @@ -1,18 +0,0 @@ -/* ======================================== - - Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ - -#include <libSystem/SystemKit/Err.h> -#include <libSystem/SystemKit/Syscall.h> -#include <libSystem/SystemKit/Verify.h> - -using namespace LibSystem; - -IMPORT_C Void _rtl_assert(Bool expr, const Char* origin) { - if (!expr) { - PrintOut(nullptr, "Assertion failed: %s\r", origin); - libsys_syscall_arg_1(SYSCALL_HASH("_rtl_debug_break")); - } -}
\ No newline at end of file |
