Browse Source

* Use IncRefCount

git-svn-id: trunk@6143 -
pierre 18 năm trước cách đây
mục cha
commit
e3651191f5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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