Re: Conditions with always true components

2008-05-16 Thread Patrick R. Michaud
On Fri, May 16, 2008 at 11:12:54PM +0100, Nicholas Clark wrote: > On Fri, May 16, 2008 at 03:20:34PM -0500, Patrick R. Michaud wrote: > > On Fri, May 16, 2008 at 09:12:19PM +0100, Alberto Simões wrote: > > >if (!base && !(i && scale) && (!emit_is8bit(disp) || 1)) { > > > > > > This is exactly

Re: Conditions with always true components

2008-05-16 Thread Nicholas Clark
On Fri, May 16, 2008 at 03:20:34PM -0500, Patrick R. Michaud wrote: > On Fri, May 16, 2008 at 09:12:19PM +0100, Alberto Simões wrote: > > Hi, Folks. > > > > There are a few files on the parrot source where the compiler complains > > about a logic value that is always true. > > > > Let us check a

Re: Conditions with always true components

2008-05-16 Thread Patrick R. Michaud
On Fri, May 16, 2008 at 09:12:19PM +0100, Alberto Simões wrote: > Hi, Folks. > > There are a few files on the parrot source where the compiler complains > about a logic value that is always true. > > Let us check a specific case: > > on src/jit_emit.h:231, > >if (!base && !(i && scale) &&

Re: Conditions with always true components

2008-05-16 Thread chromatic
On Friday 16 May 2008 13:12:19 Alberto Simões wrote: > There are a few files on the parrot source where the compiler complains > about a logic value that is always true. > > Let us check a specific case: > > on src/jit_emit.h:231, > > if (!base && !(i && scale) && (!emit_is8bit(disp) || 1)) {

Conditions with always true components

2008-05-16 Thread Alberto Simões
Hi, Folks. There are a few files on the parrot source where the compiler complains about a logic value that is always true. Let us check a specific case: on src/jit_emit.h:231, if (!base && !(i && scale) && (!emit_is8bit(disp) || 1)) { This is exactly if (!base && !(i && scale)) { N