From 6e8410abf1d8841f15d17a30dcd346038862c926 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 11 Jan 2008 18:47:45 +0000 Subject: [PATCH] another minor datastructure tweak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45874 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/ArgumentPromotion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp index 0876a2bde31..91b3766fa20 100644 --- a/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/lib/Transforms/IPO/ArgumentPromotion.cpp @@ -328,7 +328,7 @@ namespace { /// safe to do so. Function *ArgPromotion::DoPromotion(Function *F, SmallVectorImpl &Args2Prom) { - std::set ArgsToPromote(Args2Prom.begin(), Args2Prom.end()); + SmallPtrSet 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.