mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Eliminate an explicit use of the LLVM basic block, using getParent instead,
which simplifies the code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13707 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c63e03e04
commit
5bf3ce2b7c
@ -97,6 +97,6 @@ void MachineBasicBlock::print(std::ostream &OS) const
|
||||
OS << "\n" << LBB->getName() << " (" << (const void*)LBB << "):\n";
|
||||
for (const_iterator I = begin(); I != end(); ++I) {
|
||||
OS << "\t";
|
||||
I->print(OS, MachineFunction::get(LBB->getParent()).getTarget());
|
||||
I->print(OS, getParent()->getTarget());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user