Browse Source

symcreat: add hidden high parameters in create_procdef_alias

No longer happens automatically for pc_bareproc procdef copies
Jonas Maebe 2 years ago
parent
commit
32f8dc7ef5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/symcreat.pas

+ 2 - 0
compiler/symcreat.pas

@@ -1168,6 +1168,8 @@ implementation
       result.setmangledname(newmangledname);
       { finish creating the copy }
       finish_copied_procdef(result,newrealname,newparentst,newstruct);
+      { insert hidden high parameters }
+      result.parast.SymList.ForEachCall(@insert_hidden_para,result);
       { now insert self/vmt }
       insert_self_and_vmt_para(result);
       { and the function result }