[Mono-devel-list] [PATCH] Constant folding signed div

Massimiliano Mantione massi at ximian.com
Mon Nov 29 07:36:38 EST 2004


On Tue, 2004-11-23 at 20:16, Torstensson, Patrik wrote:
> -       FOLD_BINOPZ (CEE_DIV,/,gint32)
> [...]
> +/* keep here until all archs have been verified */
> +#ifdef MONO_ARCH_SUPPORT_DIV_CFOLD 
> +       case CEE_DIV:
> [...]
> +#endif

Shouldn't this be:

#ifdef MONO_ARCH_SUPPORT_DIV_CFOLD 
       case CEE_DIV:
[...]
#else
       FOLD_BINOPZ (CEE_DIV,/,gint32)
#endif

just to leave the cfold of '/' there for other archs?





More information about the Mono-devel-list mailing list