浏览代码

* Use IncRefCount

git-svn-id: trunk@6143 -
pierre 18 年之前
父节点
当前提交
e3651191f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/symtable.pas

+ 1 - 1
compiler/symtable.pas

@@ -1452,7 +1452,7 @@ implementation
      procedure addsymref(sym:tsym);
        begin
          { symbol uses count }
-         inc(sym.refs);
+         sym.IncRefCount;
          { unit uses count }
          if assigned(current_module) and
             (sym.owner.symtabletype=globalsymtable) then