Tidy up several unbeseeming casts from pointer to intptr_t.
[oota-llvm.git] / lib / Transforms / Scalar / BasicBlockPlacement.cpp
index 041bed234b6fdbe616263fdb306d2f45ceb5db34..fb9b88005b6a8d712ac8e7b82d7d7f594b2709af 100644 (file)
@@ -42,7 +42,7 @@ STATISTIC(NumMoved, "Number of basic blocks moved");
 namespace {
   struct VISIBILITY_HIDDEN BlockPlacement : public FunctionPass {
     static char ID; // Pass identification, replacement for typeid
-    BlockPlacement() : FunctionPass((intptr_t)&ID) {}
+    BlockPlacement() : FunctionPass(&ID) {}
 
     virtual bool runOnFunction(Function &F);