浏览代码

Manually increase refs of newly created labelsymbol in insertpcrelativedata

Pierre Muller 3 年之前
父节点
当前提交
2cdbdcd5c5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/arm/aasmcpu.pas

+ 1 - 0
compiler/arm/aasmcpu.pas

@@ -1131,6 +1131,7 @@ implementation
                                   listtoinsert.Concat(hp2);
                                   taicpu(curtai).oper[curop]^.ref^.symboldata:=hp;
                                   taicpu(curtai).oper[curop]^.ref^.symbol:=l;
+                                  l.increfs;
                                   curdatatai:=hp;
                                 end;