浏览代码

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

git-svn-id: trunk@43785 -

Jonas Maebe 6 年之前
父节点
当前提交
6d51c69dbe
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,