Browse Source

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

git-svn-id: trunk@46688 -
pierre 5 năm trước cách đây
mục cha
commit
46c354ae58
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/powerpc64/nppcadd.pas

+ 1 - 1
compiler/powerpc64/nppcadd.pas

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