Explorar o código

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

git-svn-id: trunk@46688 -
pierre %!s(int64=5) %!d(string=hai) anos
pai
achega
46c354ae58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);