mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 03:37:35 +01:00
+ override set_labelsym_resultdef for i8086 and set a near pointer resultdef if
the anf_ofs flag is set git-svn-id: trunk@38677 -
This commit is contained in:
parent
109fb279f6
commit
dadd5568db
@ -34,6 +34,7 @@ interface
|
||||
type
|
||||
ti8086addrnode = class(ti86addrnode)
|
||||
protected
|
||||
procedure set_labelsym_resultdef; override;
|
||||
procedure set_absvarsym_resultdef; override;
|
||||
procedure pass_generate_code;override;
|
||||
public
|
||||
@ -68,6 +69,15 @@ implementation
|
||||
TI8086ADDRNODE
|
||||
*****************************************************************************}
|
||||
|
||||
procedure ti8086addrnode.set_labelsym_resultdef;
|
||||
begin
|
||||
if anf_ofs in addrnodeflags then
|
||||
resultdef:=voidnearcspointertype
|
||||
else
|
||||
inherited;
|
||||
end;
|
||||
|
||||
|
||||
procedure ti8086addrnode.set_absvarsym_resultdef;
|
||||
begin
|
||||
if not(anf_typedaddr in addrnodeflags) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user