mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +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:
@ -129,7 +129,7 @@ FunctionPass *llvm::createGCInfoPrinter(std::ostream &OS) {
|
||||
}
|
||||
|
||||
Printer::Printer(std::ostream &OS)
|
||||
: FunctionPass(intptr_t(&ID)), OS(OS) {}
|
||||
: FunctionPass(&ID), OS(OS) {}
|
||||
|
||||
const char *Printer::getPassName() const {
|
||||
return "Print Garbage Collector Information";
|
||||
@ -189,7 +189,7 @@ FunctionPass *llvm::createGCInfoDeleter() {
|
||||
return new Deleter();
|
||||
}
|
||||
|
||||
Deleter::Deleter() : FunctionPass(intptr_t(&ID)) {}
|
||||
Deleter::Deleter() : FunctionPass(&ID) {}
|
||||
|
||||
const char *Deleter::getPassName() const {
|
||||
return "Delete Garbage Collector Information";
|
||||
|
Reference in New Issue
Block a user