ソースを参照

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

florian 13 年 前
コミット
2f1989c1a6
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/arm/aoptcpu.pas

+ 1 - 1
compiler/arm/aoptcpu.pas

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