Browse Source

* fixed typo when checking live start of references

git-svn-id: trunk@22112 -
florian 13 years ago
parent
commit
53a0d3e3a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/arm/aoptcpu.pas

+ 1 - 1
compiler/arm/aoptcpu.pas

@@ -1165,7 +1165,7 @@ Implementation
           Top_Ref:
           Top_Ref:
             begin
             begin
               CheckLiveStart(p.oper[i]^.ref^.base);
               CheckLiveStart(p.oper[i]^.ref^.base);
-              CheckLiveStart(p.oper[i]^.ref^.base);
+              CheckLiveStart(p.oper[i]^.ref^.index);
             end;
             end;
           Top_Shifterop:
           Top_Shifterop:
             CheckLiveStart(p.oper[i]^.shifterop^.rs);
             CheckLiveStart(p.oper[i]^.shifterop^.rs);