* 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:
nickysn 2014-04-30 17:37:47 +00:00
parent 4ab9c6f206
commit de1b8cf5d6

View File

@ -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