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

@@ -38,7 +38,7 @@ namespace {
public:
static char ID; // Pass ID, replacement for typeid
explicit LowerAllocations(bool LowerToInt = false)
: BasicBlockPass((intptr_t)&ID), MallocFunc(0), FreeFunc(0),
: BasicBlockPass(&ID), MallocFunc(0), FreeFunc(0),
LowerMallocArgToInteger(LowerToInt) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {