Преглед изворни кода

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

git-svn-id: trunk@26660 -
sergei пре 11 година
родитељ
комит
949907f1f3
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      compiler/ncgutil.pas

+ 2 - 1
compiler/ncgutil.pas

@@ -1362,7 +1362,8 @@ implementation
         current_asmdata.asmcfi.start_frame(list);
         current_asmdata.asmcfi.start_frame(list);
 
 
         { All temps are know, write offsets used for information }
         { 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
           begin
             if tg.direction>0 then
             if tg.direction>0 then
               begin
               begin