mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-03 11:08:32 +00:00
gcc doesn't like an empty colbber list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a21900d5a4
commit
f45148e113
@ -2379,7 +2379,9 @@ void CWriter::visitInlineAsm(CallInst &CI) {
|
|||||||
if (I + 1 != E)
|
if (I + 1 != E)
|
||||||
Out << ",";
|
Out << ",";
|
||||||
}
|
}
|
||||||
Out << "\n :" << (Clobber.size() ? Clobber.substr(1) : "") << ")\n";
|
if (Clobber.size())
|
||||||
|
Out << "\n :" << Clobber.substr(1);
|
||||||
|
Out << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWriter::visitMallocInst(MallocInst &I) {
|
void CWriter::visitMallocInst(MallocInst &I) {
|
||||||
|
@ -2379,7 +2379,9 @@ void CWriter::visitInlineAsm(CallInst &CI) {
|
|||||||
if (I + 1 != E)
|
if (I + 1 != E)
|
||||||
Out << ",";
|
Out << ",";
|
||||||
}
|
}
|
||||||
Out << "\n :" << (Clobber.size() ? Clobber.substr(1) : "") << ")\n";
|
if (Clobber.size())
|
||||||
|
Out << "\n :" << Clobber.substr(1);
|
||||||
|
Out << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWriter::visitMallocInst(MallocInst &I) {
|
void CWriter::visitMallocInst(MallocInst &I) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user