mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 21:30:35 +02:00
Comparison nodes are always in LOC_REGISTER, never in LOC_JUMP for riscv32 or riscv64 CPUs
git-svn-id: trunk@43614 -
This commit is contained in:
parent
92b0ea7d02
commit
4e4f55ac0e
@ -288,6 +288,8 @@ implementation
|
|||||||
|
|
||||||
if expectloc=LOC_FLAGS then
|
if expectloc=LOC_FLAGS then
|
||||||
expectloc:=LOC_REGISTER;
|
expectloc:=LOC_REGISTER;
|
||||||
|
if (expectloc=LOC_JUMP) and (nodetype in [equaln, unequaln, ltn, lten, gtn, gten]) then
|
||||||
|
expectloc:=LOC_REGISTER;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user