Browse Source

* properly set needstackframe for assembler routines

git-svn-id: trunk@6516 -
Jonas Maebe 18 years ago
parent
commit
0926c4c64d
1 changed files with 4 additions and 1 deletions
  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;