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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-08-26 20:50:09 +00:00
parent aa250b8067
commit fabc8803a3
2 changed files with 4 additions and 2 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));

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));