X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FLTO%2FLTOCodeGenerator.cpp;h=a51b1c9df8b10be41874d40cabcf5b25e81b7fe1;hb=540b4f6c08a089f487edad2befb7caf98c127ac5;hp=231e4838470afeb282e9527002f7e8db2886c01f;hpb=f06c7072c23c9909638d7dab5fff679b7ac5f8d2;p=oota-llvm.git diff --git a/lib/LTO/LTOCodeGenerator.cpp b/lib/LTO/LTOCodeGenerator.cpp index 231e4838470..a51b1c9df8b 100644 --- a/lib/LTO/LTOCodeGenerator.cpp +++ b/lib/LTO/LTOCodeGenerator.cpp @@ -314,7 +314,7 @@ void LTOCodeGenerator:: applyRestriction(GlobalValue &GV, const ArrayRef &Libcalls, std::vector &MustPreserveList, - SmallPtrSetImpl &AsmUsed, + SmallPtrSet &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 &UsedValues) { + SmallPtrSet &UsedValues) { if (!LLVMUsed) return; ConstantArray *Inits = cast(LLVMUsed->getInitializer());