factor some code better.
[oota-llvm.git] / lib / Analysis / AliasDebugger.cpp
index 06a43b11dd5d3d04efc1edb3bc785786fca22147..0bbd739351fe9c29751d77d396d97880f6e69b57 100644 (file)
@@ -41,7 +41,7 @@ namespace {
     
   public:
     static char ID; // Class identification, replacement for typeinfo
-    AliasDebugger() : ModulePass((intptr_t)&ID) {}
+    AliasDebugger() : ModulePass(&ID) {}
 
     bool runOnModule(Module &M) {
       InitializeAliasAnalysis(this);                 // set up super class