mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 12:00:07 +02:00
+ 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:
parent
78f94ab035
commit
35939ff0a9
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user