+ added missing begin_anonymous_record() for widestring constants (undetected

before because it only matters for the llvm target, and fpc+llvm+windows is
    not yet supported/tested)

git-svn-id: branches/hlcgllvm@28749 -
This commit is contained in:
Jonas Maebe 2014-10-06 20:53:09 +00:00
parent b18ba8e85b
commit 6cc74cd115

View File

@ -644,6 +644,7 @@ implementation
strlength:=getlengthwidestring(pcompilerwidestring(data));
if winlike then
begin
datatcb.begin_anonymous_record;
current_asmdata.getdatalabel(result.lab);
datatcb.emit_tai(Tai_const.Create_32bit(strlength*cwidechartype.size),s32inttype);
{ can we optimise by placing the string constant label at the