Hi, I am starting to read through runtime.c and I think a little (brazillian) spring cleaning cannot hurt.
Is the patch ok or unecessary? Thanks, Christian, who cuddles up for winter... -- Who can (make) the muddy water (clear)? Let it be still, and it will gradually become clear. Who can secure the condition of rest? Let movement go on, and the condition of rest will gradually arise. -- Lao Tse.
>From 9bae7824f8ced011daf04f03c307ff18b0979ec8 Mon Sep 17 00:00:00 2001 From: Christian Kellermann <[email protected]> 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
_______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
