[llvm-commits] [llvm] r57703 - /llvm/branches/release_24/lib/VMCore/AsmWriter.cpp
Tanya Lattner
tonic at nondot.org
Fri Oct 17 10:58:40 PDT 2008
Author: tbrethou
Date: Fri Oct 17 12:58:39 2008
New Revision: 57703
URL: http://llvm.org/viewvc/llvm-project?rev=57703&view=rev
Log:
Merge from mainline.
Modified:
llvm/branches/release_24/lib/VMCore/AsmWriter.cpp
Modified: llvm/branches/release_24/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_24/lib/VMCore/AsmWriter.cpp?rev=57703&r1=57702&r2=57703&view=diff
==============================================================================
--- llvm/branches/release_24/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/branches/release_24/lib/VMCore/AsmWriter.cpp Fri Oct 17 12:58:39 2008
@@ -1666,16 +1666,16 @@
// only do this if the first argument is a pointer to a nonvararg function,
// and if the return type is not a pointer to a function.
//
+ Out << ' ';
if (!FTy->isVarArg() &&
(!isa<PointerType>(RetTy) ||
!isa<FunctionType>(cast<PointerType>(RetTy)->getElementType()))) {
- Out << ' '; printType(RetTy);
+ printType(RetTy);
+ Out << ' ';
writeOperand(Operand, false);
} else {
- Out << ' ';
writeOperand(Operand, true);
}
-
Out << '(';
for (unsigned op = 3, Eop = I.getNumOperands(); op < Eop; ++op) {
if (op > 3)
More information about the llvm-commits
mailing list