Pacify gcc-4.3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52723 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2008-06-25 16:31:18 +00:00
parent fd4418fc9b
commit b58d211dbb

View File

@ -613,7 +613,7 @@ bool DAE::RemoveDeadStuffFromFunction(Function *F) {
++NumRetValsEliminated;
Changed = true;
}
if (RetTypes.size() > 1 || STy && STy->getNumElements() == RetTypes.size())
if (RetTypes.size() > 1 || (STy && STy->getNumElements()==RetTypes.size()))
// More than one return type? Return a struct with them. Also, if we used
// to return a struct and didn't change the number of return values,
// return a struct again. This prevents changing {something} into something