mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 13:31:20 +02:00
+ TZ80AddNode.NoEqual
git-svn-id: branches/z80@44731 -
This commit is contained in:
parent
6b74573677
commit
962e339ec4
@ -34,6 +34,7 @@ interface
|
||||
|
||||
TZ80AddNode = class(tcgaddnode)
|
||||
private
|
||||
function NoEqual(anodetype:tnodetype):tnodetype;
|
||||
function GetResFlags(unsigned:Boolean;anodetype:tnodetype):TResFlags;
|
||||
protected
|
||||
function pass_1 : tnode;override;
|
||||
@ -62,6 +63,18 @@ interface
|
||||
TZ80AddNode
|
||||
*****************************************************************************}
|
||||
|
||||
|
||||
function TZ80AddNode.NoEqual(anodetype: tnodetype): tnodetype;
|
||||
begin
|
||||
if anodetype=lten then
|
||||
result:=ltn
|
||||
else if anodetype=gten then
|
||||
result:=gtn
|
||||
else
|
||||
result:=anodetype;
|
||||
end;
|
||||
|
||||
|
||||
function TZ80AddNode.GetResFlags(unsigned: Boolean; anodetype: tnodetype): TResFlags;
|
||||
begin
|
||||
case anodetype of
|
||||
|
Loading…
Reference in New Issue
Block a user