瀏覽代碼

* don't quote LLVM calling convention name (that will cause it to be ignored)
o fixes tasm10a and tx64ccnv.ll with LLVM

git-svn-id: branches/debug_eh@42193 -

Jonas Maebe 6 年之前
父節點
當前提交
3f2578a3e3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      compiler/llvm/agllvm.pas

+ 1 - 2
compiler/llvm/agllvm.pas

@@ -647,9 +647,8 @@ implementation
                 tmpstr:=llvm_callingconvention_name(taillvm(hp).oper[2]^.callingconvention);
                 tmpstr:=llvm_callingconvention_name(taillvm(hp).oper[2]^.callingconvention);
                 if tmpstr<>'' then
                 if tmpstr<>'' then
                   begin
                   begin
-                    owner.writer.AsmWrite(' "');
+                    owner.writer.AsmWrite(' ');
                     owner.writer.AsmWrite(tmpstr);
                     owner.writer.AsmWrite(tmpstr);
-                    owner.writer.AsmWrite('"');
                   end;
                   end;
                 opdone:=true;
                 opdone:=true;
                 tmpstr:=llvmencodetypename(taillvm(hp).oper[3]^.def);
                 tmpstr:=llvmencodetypename(taillvm(hp).oper[3]^.def);