another minor datastructure tweak.

llvm-svn: 45874
This commit is contained in:
Chris Lattner 2008-01-11 18:47:45 +00:00
parent a8ba28f6e4
commit 669e7054ca
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ namespace {
/// safe to do so.
Function *ArgPromotion::DoPromotion(Function *F,
SmallVectorImpl<Argument*> &Args2Prom) {
std::set<Argument*> ArgsToPromote(Args2Prom.begin(), Args2Prom.end());
SmallPtrSet<Argument*, 8> ArgsToPromote(Args2Prom.begin(), Args2Prom.end());
// Start by computing a new prototype for the function, which is the same as
// the old function, but has modified arguments.