diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-18 00:24:38 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-18 00:24:38 +0000 |
commit | 6230691c9186e95cd19dff07074a54fb70719957 (patch) | |
tree | 6bdcca9e44f1549b7264e61c4e15185dbcd0ec10 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 4dd9b43c8d42f79fb5b7f11e2f331016cdddb929 (diff) | |
download | bcm5719-llvm-6230691c9186e95cd19dff07074a54fb70719957.tar.gz bcm5719-llvm-6230691c9186e95cd19dff07074a54fb70719957.zip |
Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size."
Getting a weird buildbot failure that I need to investigate.
llvm-svn: 215870
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/ModuleUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ModuleUtils.cpp b/llvm/lib/Transforms/Utils/ModuleUtils.cpp index 35c701eeedc..d9dbbca1c36 100644 --- a/llvm/lib/Transforms/Utils/ModuleUtils.cpp +++ b/llvm/lib/Transforms/Utils/ModuleUtils.cpp @@ -78,7 +78,7 @@ void llvm::appendToGlobalDtors(Module &M, Function *F, int Priority) { } GlobalVariable * -llvm::collectUsedGlobalVariables(Module &M, SmallPtrSetImpl<GlobalValue *> &Set, +llvm::collectUsedGlobalVariables(Module &M, SmallPtrSet<GlobalValue *, 8> &Set, bool CompilerUsed) { const char *Name = CompilerUsed ? "llvm.compiler.used" : "llvm.used"; GlobalVariable *GV = M.getGlobalVariable(Name); |