* 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:
florian 2012-09-04 18:58:28 +00:00
parent bc47125943
commit 2f1989c1a6

View File

@ -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