mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Const correctness fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -126,7 +126,7 @@ void MachineFunction::print(std::ostream &OS) const {
|
||||
getConstantPool()->print(OS);
|
||||
|
||||
for (const_iterator BB = begin(); BB != end(); ++BB) {
|
||||
BasicBlock *LBB = BB->getBasicBlock();
|
||||
const BasicBlock *LBB = BB->getBasicBlock();
|
||||
OS << "\n" << LBB->getName() << " (" << (const void*)LBB << "):\n";
|
||||
for (MachineBasicBlock::const_iterator I = BB->begin(); I != BB->end();++I){
|
||||
OS << "\t";
|
||||
|
Reference in New Issue
Block a user