Переглянути джерело

LLVM: assign procdef.procstarttai, like in the regular code generator

Jonas Maebe 3 роки тому
батько
коміт
b7b495a679
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      compiler/llvm/hlcgllvm.pas

+ 1 - 0
compiler/llvm/hlcgllvm.pas

@@ -1437,6 +1437,7 @@ implementation
           item:=TCmdStrListItem(item.next);
         end;
       list.concat(taillvmdecl.createdef(asmsym,current_procinfo.procdef,nil,sec_code,current_procinfo.procdef.alignment));
+      current_procinfo.procdef.procstarttai:=tai(list.last);
     end;