X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FAsmWriter.cpp;h=273fe3043aeb4210dfa644794b756252d6bc2bc8;hb=cef7527a85d026aeb17a4dacca73c70c0ab5da40;hp=0080d63b63a0ce43d9e5403265f93204b21dd98e;hpb=76dea9547d6aadbabbcb597b5e1d3f4ec529d031;p=oota-llvm.git diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 0080d63b63a..273fe3043ae 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1621,16 +1621,16 @@ void AssemblyWriter::printInstruction(const Instruction &I) { // 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(RetTy) || !isa(cast(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)