Explorar o código

* properly set needstackframe for assembler routines

git-svn-id: trunk@6516 -
Jonas Maebe %!s(int64=18) %!d(string=hai) anos
pai
achega
0926c4c64d
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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;