Explorar o código

* x86: Correct fileinfo for OptPass2MOV

J. Gareth "Curious Kit" Moreton %!s(int64=3) %!d(string=hai) anos
pai
achega
f7dcb68c5a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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(