add support for caching pointer dependence queries. Nothing uses this yet
[oota-llvm.git] / lib / Analysis / InstCount.cpp
index 5f33a60e6fd39c499af10c2e0e078941a1daf9cc..2dea7b3ef6878d839d6a93ddc1951a55b46398e8 100644 (file)
@@ -52,7 +52,7 @@ namespace {
     }
   public:
     static char ID; // Pass identification, replacement for typeid
-    InstCount() : FunctionPass((intptr_t)&ID) {}
+    InstCount() : FunctionPass(&ID) {}
 
     virtual bool runOnFunction(Function &F);