mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 18:50:43 +01:00
* use def_cgsize(parentfpvoidpointertype) instead of OS_ADDR in
tcgloadparentfpnode.pass_generate_code (should've been part of r27690) git-svn-id: trunk@27693 -
This commit is contained in:
parent
4ab9c6f206
commit
de1b8cf5d6
@ -152,7 +152,7 @@ implementation
|
||||
begin
|
||||
if (current_procinfo.procdef.parast.symtablelevel=parentpd.parast.symtablelevel) then
|
||||
begin
|
||||
location_reset(location,LOC_REGISTER,OS_ADDR);
|
||||
location_reset(location,LOC_REGISTER,def_cgsize(parentfpvoidpointertype));
|
||||
location.register:=current_procinfo.framepointer;
|
||||
end
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user