* no refcount needed for all constants instead of only stringconst

git-svn-id: trunk@8426 -
This commit is contained in:
peter 2007-09-10 16:41:29 +00:00
parent 5f4b89903c
commit 6b8a5e56b6

View File

@ -530,9 +530,9 @@ implementation
begin
secondpass(right);
{ increment source reference counter, this is
useless for string constants}
useless for constants }
if (right.resultdef.needs_inittable) and
(right.nodetype<>stringconstn) then
not is_constnode(right) then
begin
location_force_mem(current_asmdata.CurrAsmList,right.location);
location_get_data_ref(current_asmdata.CurrAsmList,right.location,href,false);