Преглед изворни кода

* fixes copy&paste errors when moving end of live pointers

git-svn-id: trunk@22113 -
florian пре 13 година
родитељ
комит
4b4e08c28b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      compiler/arm/aoptcpu.pas

+ 2 - 2
compiler/arm/aoptcpu.pas

@@ -1187,10 +1187,10 @@ Implementation
               CheckLiveEnd(hp1.oper[i]^.ref^.index);
             end;
           Top_Shifterop:
-            CheckLiveStart(p.oper[i]^.shifterop^.rs);
+            CheckLiveStart(hp1.oper[i]^.shifterop^.rs);
           Top_RegSet:
             for r:=RS_R0 to RS_R15 do
-               if r in p.oper[i]^.regset^ then
+               if r in hp1.oper[i]^.regset^ then
                  CheckLiveEnd(newreg(R_INTREGISTER,r,R_SUBWHOLE));
         end;
     end;