Pārlūkot izejas kodu

* pocall_mwpascal is the same as cdecl/cppdecl -> handle it the same for
varargs

git-svn-id: trunk@20947 -

Jonas Maebe 13 gadi atpakaļ
vecāks
revīzija
8c27e280e9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      compiler/powerpc64/cpupara.pas

+ 1 - 1
compiler/powerpc64/cpupara.pas

@@ -486,7 +486,7 @@ begin
 
   result := create_paraloc_info_intern(p, callerside, p.paras, curintreg,
     curfloatreg, curmmreg, cur_stack_offset, false);
-  if (p.proccalloption in [pocall_cdecl, pocall_cppdecl]) then begin
+  if (p.proccalloption in [pocall_cdecl, pocall_cppdecl, pocall_mwpascal]) then begin
     { just continue loading the parameters in the registers }
     result := create_paraloc_info_intern(p, callerside, varargspara, curintreg,
       curfloatreg, curmmreg, cur_stack_offset, true);