~ chicken-core (chicken-5) a91d818921235fbe965a2f9dc2ea970ba45d4378
commit a91d818921235fbe965a2f9dc2ea970ba45d4378 Author: Christian Kellermann <ckeen@pestilenz.org> AuthorDate: Thu Oct 13 21:28:53 2011 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Oct 14 13:17:40 2011 +0200 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. Signed-off-by: felix <felix@call-with-current-continuation.org> diff --git a/runtime.c b/runtime.c index 562e7900..05bf39ca 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))Trap