[llvm-commits] [llvm] r52723 - /llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
Duncan Sands
baldrick at free.fr
Wed Jun 25 09:31:19 PDT 2008
Author: baldrick
Date: Wed Jun 25 11:31:18 2008
New Revision: 52723
URL: http://llvm.org/viewvc/llvm-project?rev=52723&view=rev
Log:
Pacify gcc-4.3.
Modified:
llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
Modified: llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp?rev=52723&r1=52722&r2=52723&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp Wed Jun 25 11:31:18 2008
@@ -613,7 +613,7 @@
++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
More information about the llvm-commits
mailing list