diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-26 23:24:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-26 23:24:56 +0000 |
commit | 9e2dd8f8d7c995721584d8c7add309e5d9cb1051 (patch) | |
tree | 91f1183d9cb69abf0c087d8caf0bcfc06c46b978 /lib/CodeGen/MachineFunction.cpp | |
parent | 9cdaa63f576de1a1bcb31b3436280a15c7d97c4d (diff) |
Const correctness fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 83567a4f76..85bf4b6a27 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -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"; |