소스 검색

* 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;