@@ -4199,8 +4199,9 @@ void CWriter::visitCallInst(llvm::CallInst &I) {
|
|||||||
#else /* LLVM 3.3+ */
|
#else /* LLVM 3.3+ */
|
||||||
const llvm::AttributeSet &PAL = I.getAttributes();
|
const llvm::AttributeSet &PAL = I.getAttributes();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool hasByVal = I.hasByValArgument();
|
bool hasByVal = I.hasByValArgument();
|
||||||
bool isStructRet = I.hasStructRetAttr();
|
bool isStructRet = (I.getNumArgOperands() > 0) && I.hasStructRetAttr();
|
||||||
if (isStructRet) {
|
if (isStructRet) {
|
||||||
writeOperandDeref(I.getArgOperand(0));
|
writeOperandDeref(I.getArgOperand(0));
|
||||||
Out << " = ";
|
Out << " = ";
|
||||||
|
|||||||
Reference in New Issue
Block a user