* write all ait_const's of value 0 as 'zeroinitializer' so they also work

for pointer constants

git-svn-id: branches/hlcgllvm@30126 -
This commit is contained in:
Jonas Maebe 2015-03-07 21:43:47 +00:00
parent 9c42437326
commit 935c0c86aa

View File

@ -650,6 +650,8 @@ implementation
else
asmwrite(' -- symbol offset: ' + tostr(hp.value));
end
else if hp.value=0 then
AsmWrite('zeroinitializer')
else
AsmWrite(tostr(hp.value));
AsmLn;