mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:09:20 +02:00
* the ifdef i8086 in taddrnode.pass_typecheck removed via using tabstractprocdef.address_type
git-svn-id: trunk@27547 -
This commit is contained in:
parent
37168c8625
commit
9f4dd78701
@ -530,14 +530,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
if tabstractprocdef(left.resultdef).is_addressonly then
|
if tabstractprocdef(left.resultdef).is_addressonly then
|
||||||
begin
|
begin
|
||||||
{$ifdef i8086}
|
result:=ctypeconvnode.create_internal(left,tabstractprocdef(left.resultdef).address_type);
|
||||||
if po_far in tabstractprocdef(left.resultdef).procoptions then
|
|
||||||
result:=ctypeconvnode.create_internal(left,voidfarpointertype)
|
|
||||||
else
|
|
||||||
result:=ctypeconvnode.create_internal(left,voidnearpointertype);
|
|
||||||
{$else i8086}
|
|
||||||
result:=ctypeconvnode.create_internal(left,voidpointertype);
|
|
||||||
{$endif i8086}
|
|
||||||
include(result.flags,nf_load_procvar);
|
include(result.flags,nf_load_procvar);
|
||||||
left:=nil;
|
left:=nil;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user