PATCH: Use enum instead of nested macros in i386-opc.h

David Daney ddaney@caviumnetworks.com
Fri Oct 16 17:22:00 GMT 2009


H.J. Lu wrote:
[...]
> +enum
> +{
> +  /* i186 or better required */
> +  Cpu186 = 0,
[...]
> +enum
> +{
> +  /* has direction bit. */
> +  D = 0,
[...]
> +enum
> +{
> +  /* 8bit register */
> +  Reg8 = 0,

Putting on my pedant's hat: All those '= 0' are redundant.

David Daney



More information about the Binutils mailing list