Op Mon, 23 May 2005, schreef Jonas Maebe:

>
> On 23 mei 2005, at 11:43, Peter Vreman wrote:
>
> > {$ifdef fpc}const memavail=high(ptrint);maxavail=high(ptrint);{$endif}
>
> Then we could maybe also add an optimization that checks whether you
> are comparing against the upper or the lower bound of the current type
> and completely optimize away the checks :)

Define them as constants and that's exactly what'll happen.

Daniėl


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to