The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
sergei 06192a8137 Values of managed variables are never ever used after decrementing reference on the variable, so there is no point of having a 'decrement reference' as a separate operation. We can always do 'finalize', i.e. clear the contents after decref.
* Modified fpc_ansistr_decr_ref and fpc_widestr_decr_ref so they always zero the pointer passed by reference. Other _decr_ref helpers already do it.
- Removed tcg.g_decrrefcount, calling cg.g_finalize instead.
- finalize_data_node and tcg.g_finalize: removed code generation for zeroing locations, because it is now done by RTL helpers. This further reduces code size.

As a total result of this change and r20118, the size of Lazarus executable is reduced by about 12%.

git-svn-id: trunk@20119 -
2012-01-19 23:11:09 +00:00
compiler Values of managed variables are never ever used after decrementing reference on the variable, so there is no point of having a 'decrement reference' as a separate operation. We can always do 'finalize', i.e. clear the contents after decref. 2012-01-19 23:11:09 +00:00
ide * fix for crash of textmode IDE when loading CHM index that contains empty tags. 2012-01-15 15:42:07 +00:00
installer * wrong path suggested for LIBPATH fixed 2012-01-13 23:14:43 +00:00
packages * Re-generated makefile. It contained an invalid package name for some reason 2012-01-19 21:23:00 +00:00
rtl Values of managed variables are never ever used after decrementing reference on the variable, so there is no point of having a 'decrement reference' as a separate operation. We can always do 'finalize', i.e. clear the contents after decref. 2012-01-19 23:11:09 +00:00
tests * typecheck all array indices, not just integer and boolean types 2012-01-18 21:29:44 +00:00
utils * Patch from Hand-Peter Diettrich to fix CHM extension usage 2012-01-17 08:35:18 +00:00
.gitattributes * Converted fpmkunit and the packages it depends on to fpmake building. 2012-01-19 20:02:41 +00:00
.gitignore fpvectorial is now moved to lazarus/components/fpvectorial 2011-10-30 16:42:46 +00:00
Makefile * don't build utils on gba and embedded 2012-01-07 21:52:40 +00:00
Makefile.fpc * don't build utils on gba and embedded 2012-01-07 21:52:40 +00:00