浏览代码

* x86: Correct fileinfo for PostPeepholeOptCall

J. Gareth "Curious Kit" Moreton 3 年之前
父节点
当前提交
89605f47c2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/x86/aoptx86.pas

+ 1 - 0
compiler/x86/aoptx86.pas

@@ -13175,6 +13175,7 @@ unit aoptx86;
            (taicpu(hp1).oper[0]^.ref^.refaddr=addr_full) then
           begin
             hp2 := taicpu.Op_sym(A_PUSH,S_L,taicpu(hp1).oper[0]^.ref^.symbol);
+            taicpu(hp2).fileinfo := taicpu(p).fileinfo;
             InsertLLItem(p.previous, p, hp2);
             taicpu(p).opcode := A_JMP;
             taicpu(p).is_jmp := true;