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/LTO | |
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/LTO')
-rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index 231e4838470..a51b1c9df8b 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -314,7 +314,7 @@ void LTOCodeGenerator:: applyRestriction(GlobalValue &GV, const ArrayRef<StringRef> &Libcalls, std::vector<const char*> &MustPreserveList, - SmallPtrSetImpl<GlobalValue*> &AsmUsed, + SmallPtrSet<GlobalValue*, 8> &AsmUsed, Mangler &Mangler) { // There are no restrictions to apply to declarations. if (GV.isDeclaration()) @@ -343,7 +343,7 @@ applyRestriction(GlobalValue &GV, } static void findUsedValues(GlobalVariable *LLVMUsed, - SmallPtrSetImpl<GlobalValue*> &UsedValues) { + SmallPtrSet<GlobalValue*, 8> &UsedValues) { if (!LLVMUsed) return; ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); |