>From 9bae7824f8ced011daf04f03c307ff18b0979ec8 Mon Sep 17 00:00:00 2001 From: Christian Kellermann Date: Thu, 13 Oct 2011 21:28:53 +0200 Subject: [PATCH] Remove check_alignment macro This has been put in for debugging purposes and PARANOIA. (Enabled when the PARANOIA define is set). We do not need it and it can be resurrected if the need arises again. --- runtime.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/runtime.c b/runtime.c index 562e790..05bf39c 100644 --- a/runtime.c +++ b/runtime.c @@ -196,15 +196,6 @@ extern void _C_do_apply_hack(void *proc, C_word *args, int count) C_noret; /* Macros: */ -#ifdef PARANOIA -# define check_alignment(p) assert(((C_word)(p) & 3) == 0) -#else -# ifndef NDEBUG -# define NDEBUG -# endif -# define check_alignment(p) -#endif - #define nmax(x, y) ((x) > (y) ? (x) : (y)) #define nmin(x, y) ((x) < (y) ? (x) : (y)) #define percentage(n, p) ((long)(((double)(n) * (double)p) / 100)) -- 1.7.3.5