Fix bug: test/Regression/CBackend/2002-08-26-IndirectCallTest.ll

llvm-svn: 3511
This commit is contained in:
Chris Lattner 2002-08-26 20:50:09 +00:00
parent 5ce35beed5
commit 91680b53f4
1 changed files with 2 additions and 1 deletions

View File

@ -778,7 +778,8 @@ void CWriter::visitCallInst(CallInst &I) {
const FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
const Type *RetTy = FTy->getReturnType();
Out << getValueName(I.getOperand(0)) << "(";
writeOperand(I.getOperand(0));
Out << "(";
if (I.getNumOperands() > 1) {
writeOperand(I.getOperand(1));