mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
* fixed the type specified to reference_reset_base() in
thlcgobj.paravarsym_set_initialloc_to_paraloc(): it has to be the type of pointer in the base register, not the type of the variable (and since this is a parameter on the stack, use voidstackpointertype rather than getpointerdef() for i8086 compatibility) git-svn-id: branches/hlcgllvm@28351 -
This commit is contained in:
parent
9e074d036b
commit
8e3062b1b6
@ -4305,7 +4305,7 @@ implementation
|
||||
|
||||
procedure thlcgobj.paravarsym_set_initialloc_to_paraloc(vs: tparavarsym);
|
||||
begin
|
||||
reference_reset_base(vs.initialloc.reference,vs.vardef,tparavarsym(vs).paraloc[calleeside].location^.reference.index,
|
||||
reference_reset_base(vs.initialloc.reference,voidstackpointertype,tparavarsym(vs).paraloc[calleeside].location^.reference.index,
|
||||
tparavarsym(vs).paraloc[calleeside].location^.reference.offset,tparavarsym(vs).paraloc[calleeside].alignment);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user