Explorar o código

LLVM: fix fileinfo of temp allocations

Jonas Maebe %!s(int64=3) %!d(string=hai) anos
pai
achega
cf6a97c8ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/llvm/tgllvm.pas

+ 1 - 1
compiler/llvm/tgllvm.pas

@@ -117,7 +117,7 @@ implementation
         if assigned(current_procinfo) then
           begin
             oldfileinfo:=current_filepos;
-            current_filepos:=current_procinfo.procdef.fileinfo;
+            current_filepos:=current_procinfo.entrypos;
           end
         else
           { avoid uninitialised warning later }