Pārlūkot izejas kodu

* Don't emit "Temps allocated between..." comment in assembler listing if procedure has no temps.

git-svn-id: trunk@26660 -
sergei 11 gadi atpakaļ
vecāks
revīzija
949907f1f3
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      compiler/ncgutil.pas

+ 2 - 1
compiler/ncgutil.pas

@@ -1362,7 +1362,8 @@ implementation
         current_asmdata.asmcfi.start_frame(list);
 
         { All temps are know, write offsets used for information }
-        if (cs_asm_source in current_settings.globalswitches) then
+        if (cs_asm_source in current_settings.globalswitches) and
+           (current_procinfo.tempstart<>tg.lasttemp) then
           begin
             if tg.direction>0 then
               begin