mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +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:
@@ -937,7 +937,7 @@ class LoopInfo : public FunctionPass {
|
||||
public:
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
|
||||
LoopInfo() : FunctionPass(intptr_t(&ID)) {
|
||||
LoopInfo() : FunctionPass(&ID) {
|
||||
LI = new LoopInfoBase<BasicBlock>();
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class LoopVR : public FunctionPass {
|
||||
public:
|
||||
static char ID; // Class identification, replacement for typeinfo
|
||||
|
||||
LoopVR() : FunctionPass(intptr_t(&ID)) {}
|
||||
LoopVR() : FunctionPass(&ID) {}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
virtual void print(std::ostream &os, const Module *) const;
|
||||
|
||||
Reference in New Issue
Block a user