diff --git a/compiler/arm/aoptcpu.pas b/compiler/arm/aoptcpu.pas index 7d1df593fd..42a0ac9327 100644 --- a/compiler/arm/aoptcpu.pas +++ b/compiler/arm/aoptcpu.pas @@ -979,8 +979,8 @@ Implementation begin hp1:=p; while GetNextInstructionUsingReg(hp1, hp1, taicpu(p).oper[0]^.reg) and - (MatchInstruction(hp1, A_LDR, [taicpu(p).condition], [PF_None]) or - MatchInstruction(hp1, A_STR, [taicpu(p).condition], [PF_None])) and + (MatchInstruction(hp1, A_LDR, [taicpu(p).condition], []) or + MatchInstruction(hp1, A_STR, [taicpu(p).condition], [])) and (taicpu(hp1).oper[1]^.ref^.base=taicpu(p).oper[0]^.reg) and (taicpu(hp1).oper[1]^.ref^.index=NR_NO) and (taicpu(hp1).oper[1]^.ref^.addressmode=AM_OFFSET) and