From 6cc74cd115961ee68f336e423a73dbe19b615ecc Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Mon, 6 Oct 2014 20:53:09 +0000 Subject: [PATCH] + 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 - --- compiler/aasmcnst.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/aasmcnst.pas b/compiler/aasmcnst.pas index bf1843cdaa..fe2064fbf5 100644 --- a/compiler/aasmcnst.pas +++ b/compiler/aasmcnst.pas @@ -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