Browse Source

* x86: Correct fileinfo for OptPass2MOV

J. Gareth "Curious Kit" Moreton 3 years ago
parent
commit
f7dcb68c5a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/x86/aoptx86.pas

+ 1 - 0
compiler/x86/aoptx86.pas

@@ -8219,6 +8219,7 @@ unit aoptx86;
                             { Shouldn't fail here }
                             InternalError(2021040701);
 
+                          taicpu(NewInstr).fileinfo := taicpu(hp2).fileinfo;
                           AsmL.InsertAfter(NewInstr, hp2);
                           { Add new alignment field }
       (*                    AsmL.InsertAfter(