* fixed ansistring and unicodestring llvm defs (pointer indirection was

missing, and replaced by plain pointer because the array definition does
    not add any useful information)

git-svn-id: branches/hlcgllvm@27012 -
This commit is contained in:
Jonas Maebe 2014-03-06 21:42:10 +00:00
parent f36848c243
commit bdc2aaec47

View File

@ -154,9 +154,9 @@ implementation
st_unicodestring:
{ the variable does not point to the header, but to a
null-terminated string/array with undefined bounds }
encodedstr:=encodedstr+'[0 x i16]';
encodedstr:=encodedstr+'i16*';
st_ansistring:
encodedstr:=encodedstr+'[0 x i8]';
encodedstr:=encodedstr+'i8*';
st_shortstring:
{ length byte followed by string bytes }
if tstringdef(def).len>0 then