[fpc-devel] [patch] fixes check for unused threadvars

Sergei Gorelkin sergei_gorelkin at mail.ru
Mon Apr 20 01:28:44 CEST 2009


Hello,

Attached is a one-line fix that makes programs a couple of bytes smaller 
by preventing creation of empty threadvar tables when threadvars are not 
actually used.
The condition "Assigned(TAsmList.First)" always evaluates to True 
because the list contains at least one marker item.

Regards,
Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pmodules.diff
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20090420/3913f561/attachment.bin>


More information about the fpc-devel mailing list