mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 18:07:56 +02:00
LLVM: us paraloc def instead of para def for byval
We also use the paraloc instead of the para to write the def
This commit is contained in:
parent
f54917d600
commit
1e83d415c3
@ -857,7 +857,7 @@ implementation
|
||||
encodedstr:=encodedstr+'*';
|
||||
if withattributes then
|
||||
begin
|
||||
encodedstr:=encodedstr+llvmparatypeattr(' byval',hp.vardef,false);
|
||||
encodedstr:=encodedstr+llvmparatypeattr(' byval',paraloc^.def,false);
|
||||
if firstloc and
|
||||
(para^.alignment<>std_param_align) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user