mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* Xtensa: set expectloc of not nodes correctly
git-svn-id: trunk@46752 -
This commit is contained in:
parent
dd82f63c3f
commit
1e38369d06
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user