summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/DCE.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-18 05:09:16 +0000
committerDan Gohman <gohman@apple.com>2009-02-18 05:09:16 +0000
commit38a9631d5f04fe6b20909cfc2295f3dcc85cc873 (patch)
tree33f284eae4e98de734f1c3187847f8c4f3d92dcd /llvm/lib/Transforms/Scalar/DCE.cpp
parent5805c98526ab0c0f5f1233c6ae95c79c77217fd5 (diff)
downloadbcm5719-llvm-38a9631d5f04fe6b20909cfc2295f3dcc85cc873.tar.gz
bcm5719-llvm-38a9631d5f04fe6b20909cfc2295f3dcc85cc873.zip
Eliminate several more unnecessary intptr_t casts.
llvm-svn: 64888
Diffstat (limited to 'llvm/lib/Transforms/Scalar/DCE.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/DCE.cpp2
1 files changed, 1 insertions, 1 deletions
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(); ) {
OpenPOWER on IntegriCloud