diff options
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index e52c15b0f1..5ac5f7de49 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -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)); |