Преглед изворни кода

* x86: Correct fileinfo for OptPass2MOV

J. Gareth "Curious Kit" Moreton пре 3 година
родитељ
комит
f7dcb68c5a
1 измењених фајлова са 1 додато и 0 уклоњено
  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(