Ver Fonte

* x86: Correct fileinfo for OptPass2MOV

J. Gareth "Curious Kit" Moreton há 3 anos atrás
pai
commit
f7dcb68c5a
1 ficheiros alterados com 1 adições e 0 exclusões
  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(