* fixed writing of calling convention for function declarations/definitions

in LLVM

git-svn-id: trunk@43785 -
This commit is contained in:
Jonas Maebe 2019-12-24 22:12:40 +00:00
parent b89487e721
commit 6d51c69dbe

View File

@ -817,7 +817,7 @@ implementation
begin
callingconv:=llvm_callingconvention_name(def.proccalloption);
if callingconv<>'' then
encodedstr:=encodedstr+' "'+callingconv+'"';
encodedstr:=encodedstr+' '+callingconv;
end;
{ when writing a definition, we have to write the parameter names, and
those are only available on the callee side. In all other cases,