فهرست منبع

Rectify last commit: po_assembler alone still sets up a stack frame

git-svn-id: trunk@22722 -
pierre 12 سال پیش
والد
کامیت
e01c7603b8
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      compiler/sparc/cpupi.pas

+ 1 - 2
compiler/sparc/cpupi.pas

@@ -67,8 +67,7 @@ implementation
           Alignment must be the max available, as doubles require
           8 byte alignment
         }
-        if (po_assembler in procdef.procoptions) or
-           (po_nostackframe in procdef.procoptions) then
+        if (po_nostackframe in procdef.procoptions) then
           result:=Align(tg.direction*tg.lasttemp+maxpushedparasize,current_settings.alignment.localalignmax)
         else
           result:=Align(tg.direction*tg.lasttemp+maxpushedparasize+target_info.first_parm_offset,current_settings.alignment.localalignmax);