Browse Source

* x86: Correct fileinfo for PostPeepholeOptCall

J. Gareth "Curious Kit" Moreton 3 years ago
parent
commit
89605f47c2
1 changed files with 1 additions and 0 deletions
  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;