+ method pointer support for targets with a 16-bit address space in tcgloadnode.pass_generate_code

git-svn-id: trunk@24641 -
This commit is contained in:
nickysn 2013-05-30 13:22:59 +00:00
parent 78f94ab035
commit 35939ff0a9

View File

@ -481,13 +481,7 @@ implementation
internalerror(200312011);
if assigned(left) then
begin
{$if sizeof(pint) = 4}
location_reset(location,LOC_CREGISTER,OS_64);
{$else} {$if sizeof(pint) = 8}
location_reset(location,LOC_CREGISTER,OS_128);
{$else}
internalerror(20020520);
{$endif} {$endif}
location_reset(location,LOC_CREGISTER,int_cgsize(voidpointertype.size*2));
secondpass(left);
{ load class instance/classrefdef address }