Jelajahi Sumber

* x86: Correct fileinfo for OptPass2MOV

J. Gareth "Curious Kit" Moreton 3 tahun lalu
induk
melakukan
f7dcb68c5a
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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(