Browse Source

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

git-svn-id: trunk@26660 -
sergei 11 years ago
parent
commit
949907f1f3
1 changed files with 2 additions and 1 deletions
  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