Browse Source

+ sanity check

git-svn-id: trunk@41131 -
florian 6 years ago
parent
commit
2f40f81890
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/arm/agarmgas.pas

+ 2 - 0
compiler/arm/agarmgas.pas

@@ -205,6 +205,8 @@ unit agarmgas;
                        s:=s+', rrx'
                      else if shiftmode <> SM_None then
                        s:=s+', '+gas_shiftmode2str[shiftmode]+' #'+tostr(shiftimm);
+                     if offset<>0 then
+                       Internalerror(2019012601);
                   end
                 else if offset<>0 then
                   s:=s+', #'+tostr(offset);