mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Eliminate several more unnecessary intptr_t casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64888 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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(); ) {
|
||||
|
Reference in New Issue
Block a user