瀏覽代碼

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

Jonas Maebe 10 年之前
父節點
當前提交
6cc74cd115
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/aasmcnst.pas

+ 1 - 0
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