diff options
| author | Dan Gohman <gohman@apple.com> | 2009-02-18 05:09:16 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-02-18 05:09:16 +0000 |
| commit | 38a9631d5f04fe6b20909cfc2295f3dcc85cc873 (patch) | |
| tree | 33f284eae4e98de734f1c3187847f8c4f3d92dcd /llvm/tools/bugpoint | |
| parent | 5805c98526ab0c0f5f1233c6ae95c79c77217fd5 (diff) | |
| download | bcm5719-llvm-38a9631d5f04fe6b20909cfc2295f3dcc85cc873.tar.gz bcm5719-llvm-38a9631d5f04fe6b20909cfc2295f3dcc85cc873.zip | |
Eliminate several more unnecessary intptr_t casts.
llvm-svn: 64888
Diffstat (limited to 'llvm/tools/bugpoint')
| -rw-r--r-- | llvm/tools/bugpoint/TestPasses.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/TestPasses.cpp b/llvm/tools/bugpoint/TestPasses.cpp index db7544b57a6..900bf632a83 100644 --- a/llvm/tools/bugpoint/TestPasses.cpp +++ b/llvm/tools/bugpoint/TestPasses.cpp @@ -27,7 +27,7 @@ namespace { class CrashOnCalls : public BasicBlockPass { public: static char ID; // Pass ID, replacement for typeid - CrashOnCalls() : BasicBlockPass((intptr_t)&ID) {} + CrashOnCalls() : BasicBlockPass(&ID) {} private: virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); @@ -54,7 +54,7 @@ namespace { class DeleteCalls : public BasicBlockPass { public: static char ID; // Pass ID, replacement for typeid - DeleteCalls() : BasicBlockPass((intptr_t)&ID) {} + DeleteCalls() : BasicBlockPass(&ID) {} private: bool runOnBasicBlock(BasicBlock &BB) { for (BasicBlock::iterator I = BB.begin(), E = BB.end(); I != E; ++I) |

