Make TargetData optional in GlobalOpt and ArgumentPromotion.
[oota-llvm.git] / lib / Transforms / IPO / StripDeadPrototypes.cpp
index 7db0aa8d129b2ae13a4c250bef2671601df58e8a..a94d78e276c5466a795a5ddf7ddc3048175c6003 100644 (file)
@@ -30,7 +30,7 @@ namespace {
 class VISIBILITY_HIDDEN StripDeadPrototypesPass : public ModulePass {
 public:
   static char ID; // Pass identification, replacement for typeid
-  StripDeadPrototypesPass() : ModulePass((intptr_t)&ID) { }
+  StripDeadPrototypesPass() : ModulePass(&ID) { }
   virtual bool runOnModule(Module &M);
 };