mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 00:50:17 +02:00
* initialse the cgpara for the C-style varargs on ARM (needed for LLVM)
git-svn-id: trunk@41137 -
This commit is contained in:
parent
96b27765f0
commit
2d01fe76f6
@ -377,6 +377,11 @@ unit cpupara;
|
||||
if (p.proccalloption in cstylearrayofconst) and
|
||||
is_array_of_const(paradef) then
|
||||
begin
|
||||
hp.paraloc[side].def:=paradef;
|
||||
hp.paraloc[side].size:=OS_NO;
|
||||
hp.paraloc[side].alignment:=std_param_align;
|
||||
hp.paraloc[side].intsize:=0;
|
||||
|
||||
paraloc:=hp.paraloc[side].add_location;
|
||||
{ hack: the paraloc must be valid, but is not actually used }
|
||||
paraloc^.loc:=LOC_REGISTER;
|
||||
|
Loading…
Reference in New Issue
Block a user