浏览代码

* 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 }
                             { Shouldn't fail here }
                             InternalError(2021040701);
                             InternalError(2021040701);
 
 
+                          taicpu(NewInstr).fileinfo := taicpu(hp2).fileinfo;
                           AsmL.InsertAfter(NewInstr, hp2);
                           AsmL.InsertAfter(NewInstr, hp2);
                           { Add new alignment field }
                           { Add new alignment field }
       (*                    AsmL.InsertAfter(
       (*                    AsmL.InsertAfter(