Revert r110396 to fix buildbots.
[oota-llvm.git] / include / llvm / Analysis / FindUsedTypes.h
index 8a78eb624973ae84330ccfa4dcac1c305ad98530..1337385848ed3e107d8c1951f283acfc19f7b9d3 100644 (file)
@@ -26,7 +26,7 @@ class FindUsedTypes : public ModulePass {
   std::set<const Type *> UsedTypes;
 public:
   static char ID; // Pass identification, replacement for typeid
-  FindUsedTypes() : ModulePass(ID) {}
+  FindUsedTypes() : ModulePass(&ID) {}
 
   /// getTypes - After the pass has been run, return the set containing all of
   /// the types used in the module.