diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-11 18:47:45 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-11 18:47:45 +0000 |
| commit | 6e8410abf1d8841f15d17a30dcd346038862c926 (patch) | |
| tree | b9c3c26af36ae1a90d00738e906aa09e7cf31b03 /lib/Transforms | |
| parent | a10145fdf6325c5c528689e8952ad7e4e2a1a6b5 (diff) | |
| download | external_llvm-6e8410abf1d8841f15d17a30dcd346038862c926.zip external_llvm-6e8410abf1d8841f15d17a30dcd346038862c926.tar.gz external_llvm-6e8410abf1d8841f15d17a30dcd346038862c926.tar.bz2 | |
another minor datastructure tweak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
| -rw-r--r-- | lib/Transforms/IPO/ArgumentPromotion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp index 0876a2b..91b3766 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<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. |
