mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 21:40:32 +02:00
* hp1 can have any condition in this case so don't access hp1.condition because it
is not guranteed that hp1 is actually a tai_instruction before calling MatchInstruction git-svn-id: trunk@22319 -
This commit is contained in:
parent
bc47125943
commit
2f1989c1a6
@ -885,7 +885,7 @@ Implementation
|
||||
GetNextInstruction(p, hp1) and
|
||||
MatchInstruction(hp1, [A_ADD, A_ADC, A_RSB, A_RSC, A_SUB, A_SBC,
|
||||
A_AND, A_BIC, A_EOR, A_ORR, A_MOV, A_MVN],
|
||||
[C_NONE, taicpu(hp1).condition], []) and
|
||||
[], []) and
|
||||
{MOV and MVN might only have 2 ops}
|
||||
(taicpu(hp1).ops = 3) and
|
||||
MatchOperand(taicpu(p).oper[0]^, taicpu(hp1).oper[0]^.reg) and
|
||||
|
Loading…
Reference in New Issue
Block a user