Tidy up several unbeseeming casts from pointer to intptr_t.
llvm-svn: 55779
This commit is contained in:
@@ -78,7 +78,7 @@ namespace {
|
||||
public:
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
explicit LowerInvoke(const TargetLowering *tli = NULL)
|
||||
: FunctionPass((intptr_t)&ID), TLI(tli) { }
|
||||
: FunctionPass(&ID), TLI(tli) { }
|
||||
bool doInitialization(Module &M);
|
||||
bool runOnFunction(Function &F);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user