Browse Source

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

git-svn-id: trunk@20947 -

Jonas Maebe 13 years ago
parent
commit
8c27e280e9
1 changed files with 1 additions and 1 deletions
  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);