浏览代码

+ sanity check

git-svn-id: trunk@41131 -
florian 6 年之前
父节点
当前提交
2f40f81890
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);