[fpc-devel] removed MaxAvail,MemAvail,HeapSize

Daniël Mantione daniel at deadlock.et.tudelft.nl
Mon May 23 19:53:25 CEST 2005



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





More information about the fpc-devel mailing list