PATCH: restore global.c to compilability

Joern Rennecke amylaar@cygnus.co.uk
Mon Nov 8 09:38:00 GMT 1999


> I believe it turns into:
> 
>       EXECUTE_IF_SET_IN_ALLOCNO_SET (conflicts + allocno * allocno_row_words,
> 				     allocno2,
>         {
>           if (allocno_to_order[allocno2] > i)
>             {
>               if (allocno_size[allocno2] <= allocno_size[allocno])
>                 IOR_HARD_REG_SET (temp, hard_reg_full_preferences[allocno2]);
>               else
>                 IOR_HARD_REG_SET (temp2, hard_reg_full_preferences[allocno2]);
>             }
>         });
> 
> 
> Am I missing something?!?

I'm not talking about visual formatting of the code, but about data hiding.
Directly accessing 'conflicts' and 'allocno_row_words' is a pretty low-level
interface, and when we have to do the same low-level manipulation twice, it
makes sense to hide the details in a macro.


More information about the Gcc-patches mailing list