[Mono-dev] [PATCH] HSSA!
Mike Hearn
mike at plan99.net
Mon Nov 21 19:47:18 EST 2005
On Fri, 18 Nov 2005 22:36:38 +0100, Massimiliano Mantione wrote:
> +#define CHECK_HEAP_STATE_LENGTH(__hssa,__bb) do {\
> + int __i = 0;\
> + MonoHssaHeapAddress *__ca = (__hssa)->addresses_with_known_value;\
> + MonoHssaHeapAddress *__slow_ca = __ca;\
> + while (__ca != NULL) {\
I'm no expert for sure, but why use these huge "macro-functions" instead
of regular always inlined functions, eg
static __attribute__((always_inline)) check_heap_state_length ...
Does Mono have to be buildable with compilers that don't support that?
thanks -mike
More information about the Mono-devel-list
mailing list