浏览代码

* also count references to relsymbols

git-svn-id: trunk@8654 -
Jonas Maebe 18 年之前
父节点
当前提交
7e5e13223e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/aasmtai.pas

+ 2 - 0
compiler/aasmtai.pas

@@ -1981,6 +1981,8 @@ implementation
             { mark symbol as used }
             if assigned(ref^.symbol) then
               ref^.symbol.increfs;
+            if assigned(ref^.relsymbol) then
+              ref^.relsymbol.increfs;
           end;
       end;