Remove unnecessary casts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-08-11 15:15:10 +00:00
parent d443ee6884
commit 1b2d0b8397
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ STATISTIC(NumFunctionsMerged, "Number of functions merged");
namespace {
struct VISIBILITY_HIDDEN MergeFunctions : public ModulePass {
static char ID; // Pass identification, replacement for typeid
MergeFunctions() : ModulePass((intptr_t)&ID) {}
MergeFunctions() : ModulePass(&ID) {}
bool runOnModule(Module &M);
};