* Xtensa: set expectloc of not nodes correctly

git-svn-id: trunk@46752 -
This commit is contained in:
florian 2020-09-02 20:47:53 +00:00
parent dd82f63c3f
commit 1e38369d06

View File

@ -37,6 +37,7 @@ interface
tcpunotnode = class(tcgnotnode)
procedure second_boolean;override;
function pass_1: tnode;override;
end;
tcpuunaryminusnode = class(tcgunaryminusnode)
@ -108,6 +109,14 @@ implementation
TCPUNOTNODE
*****************************************************************************}
function tcpunotnode.pass_1 : tnode;
begin
result:=nil;
firstpass(left);
expectloc:=LOC_REGISTER;
end;
procedure tcpunotnode.second_boolean;
var
tmpreg, hreg1, hreg2, hreg3: TRegister;