1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

gcc doesn't like an empty colbber list

llvm-svn: 31987
This commit is contained in:
Andrew Lenharth 2006-11-28 23:07:32 +00:00
parent c942df4921
commit e46a408fb9

View File

@ -2379,7 +2379,9 @@ void CWriter::visitInlineAsm(CallInst &CI) {
if (I + 1 != E)
Out << ",";
}
Out << "\n :" << (Clobber.size() ? Clobber.substr(1) : "") << ")\n";
if (Clobber.size())
Out << "\n :" << Clobber.substr(1);
Out << ")";
}
void CWriter::visitMallocInst(MallocInst &I) {