mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 04:49:07 +02:00
* 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:
parent
f36848c243
commit
bdc2aaec47
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user