Преглед изворни кода

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