Browse Source

* fixed writing of calling convention for function declarations/definitions
in LLVM

git-svn-id: trunk@43785 -

Jonas Maebe 5 years ago
parent
commit
6d51c69dbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/llvm/llvmdef.pas

+ 1 - 1
compiler/llvm/llvmdef.pas

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