Tidy up several unbeseeming casts from pointer to intptr_t.
[oota-llvm.git] / lib / CodeGen / RegAllocLinearScan.cpp
index c6f714a9cb7d59bb21505e4852faacd929327027..91dda771475964ce38f0098fa1ccfc7fb99545cf 100644 (file)
@@ -55,7 +55,7 @@ linearscanRegAlloc("linearscan", "  linear scan register allocator",
 namespace {
   struct VISIBILITY_HIDDEN RALinScan : public MachineFunctionPass {
     static char ID;
-    RALinScan() : MachineFunctionPass((intptr_t)&ID) {}
+    RALinScan() : MachineFunctionPass(&ID) {}
 
     typedef std::pair<LiveInterval*, LiveInterval::iterator> IntervalPtr;
     typedef SmallVector<IntervalPtr, 32> IntervalPtrs;