Add an Assumption-Tracking Pass
[oota-llvm.git] / lib / Transforms / Utils / ModuleUtils.cpp
index d9dbbca1c3665b0cf0f8755697f1b6f78435fede..35c701eeedc9816fbe20ce6a4f794f70bce52959 100644 (file)
@@ -78,7 +78,7 @@ void llvm::appendToGlobalDtors(Module &M, Function *F, int Priority) {
 }
 
 GlobalVariable *
-llvm::collectUsedGlobalVariables(Module &M, SmallPtrSet<GlobalValue *, 8> &Set,
+llvm::collectUsedGlobalVariables(Module &M, SmallPtrSetImpl<GlobalValue *> &Set,
                                  bool CompilerUsed) {
   const char *Name = CompilerUsed ? "llvm.compiler.used" : "llvm.used";
   GlobalVariable *GV = M.getGlobalVariable(Name);