Sfoglia il codice sorgente

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

git-svn-id: trunk@43785 -

Jonas Maebe 5 anni fa
parent
commit
6d51c69dbe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,