]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove dead macros and declaration.
authorNicholas Nethercote <njn@valgrind.org>
Sun, 27 Mar 2005 02:01:31 +0000 (02:01 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 27 Mar 2005 02:01:31 +0000 (02:01 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3459

coregrind/core.h

index d21d70f9017f4af4a78ecb63dd46a2a3018e9b4a..8996c19408d6bc5eb604a3b8ce255c60f9591fb3 100644 (file)
@@ -1708,17 +1708,6 @@ extern void VGA_(push_signal_frame) ( ThreadId tid, Addr sp_top_of_frame,
                                      void *restorer );
 
 ////typedef struct _ThreadArchAux ThreadArchAux;
-#define MY__STRING(__str)  #__str
-
-// Assertion to use in code running on the simulated CPU.
-#define my_assert(expr)                                               \
-  ((void) ((expr) ? 0 :                                                      \
-          (VG_(user_assert_fail) (MY__STRING(expr),                  \
-                             __FILE__, __LINE__,                     \
-                              __PRETTY_FUNCTION__), 0)))
-
-extern void VG_(user_assert_fail) ( const Char* expr, const Char* file,
-                                    Int line, const Char* fn );
 
 
 // ---------------------------------------------------------------------