浏览代码

* properly set needstackframe for assembler routines

git-svn-id: trunk@6516 -
Jonas Maebe 18 年之前
父节点
当前提交
0926c4c64d
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      compiler/powerpc/cpupi.pas

+ 4 - 1
compiler/powerpc/cpupi.pas

@@ -182,7 +182,10 @@ unit cpupi;
               end;
           end
         else
-          result := align(tg.lasttemp,16);
+          begin
+            result := align(tg.lasttemp,16);
+            needstackframe:=result<>0;
+          end;
       end;