mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 13:22:37 +02:00
+ 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:
parent
b18ba8e85b
commit
6cc74cd115
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user