Переглянути джерело

* 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 -

Jonas Maebe 11 роки тому
батько
коміт
bdc2aaec47
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      compiler/llvm/llvmdef.pas

+ 2 - 2
compiler/llvm/llvmdef.pas

@@ -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