浏览代码

Fix EXTDEBUG code: tai_comment requires use of strpnew function with constant string

git-svn-id: trunk@46688 -
pierre 5 年之前
父节点
当前提交
46c354ae58
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/powerpc64/nppcadd.pas

+ 1 - 1
compiler/powerpc64/nppcadd.pas

@@ -284,7 +284,7 @@ begin
       ltn, lten, gtn, gten, equaln, unequaln:
       ltn, lten, gtn, gten, equaln, unequaln:
         begin
         begin
           {$ifdef extdebug}
           {$ifdef extdebug}
-          current_asmdata.CurrAsmList.concat(tai_comment.create('tppcaddnode.pass2'));
+          current_asmdata.CurrAsmList.concat(tai_comment.create(strpnew('tppcaddnode.pass2')));
           {$endif extdebug}
           {$endif extdebug}
 
 
           emit_compare(unsigned);
           emit_compare(unsigned);