Tidy up several unbeseeming casts from pointer to intptr_t.

llvm-svn: 55779
This commit is contained in:
Dan Gohman
2008-09-04 17:05:41 +00:00
parent 4b19157ba9
commit a79db30d28
137 changed files with 170 additions and 169 deletions

View File

@@ -49,7 +49,7 @@ STATISTIC(NumLCSSA, "Number of live out of a loop variables");
namespace {
struct VISIBILITY_HIDDEN LCSSA : public LoopPass {
static char ID; // Pass identification, replacement for typeid
LCSSA() : LoopPass((intptr_t)&ID) {}
LCSSA() : LoopPass(&ID) {}
// Cached analysis information for the current function.
LoopInfo *LI;