From 38a9631d5f04fe6b20909cfc2295f3dcc85cc873 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 18 Feb 2009 05:09:16 +0000 Subject: Eliminate several more unnecessary intptr_t casts. llvm-svn: 64888 --- llvm/lib/Transforms/Scalar/DCE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Scalar/DCE.cpp') diff --git a/llvm/lib/Transforms/Scalar/DCE.cpp b/llvm/lib/Transforms/Scalar/DCE.cpp index a5990ee79e8..8bb504c09c6 100644 --- a/llvm/lib/Transforms/Scalar/DCE.cpp +++ b/llvm/lib/Transforms/Scalar/DCE.cpp @@ -36,7 +36,7 @@ namespace { // struct VISIBILITY_HIDDEN DeadInstElimination : public BasicBlockPass { static char ID; // Pass identification, replacement for typeid - DeadInstElimination() : BasicBlockPass(intptr_t(&ID)) {} + DeadInstElimination() : BasicBlockPass(&ID) {} virtual bool runOnBasicBlock(BasicBlock &BB) { bool Changed = false; for (BasicBlock::iterator DI = BB.begin(); DI != BB.end(); ) { -- cgit v1.2.3