Browse Source

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

git-svn-id: trunk@46688 -
pierre 5 years ago
parent
commit
46c354ae58
1 changed files with 1 additions and 1 deletions
  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);