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 | 414832fea6de1c13f27ac9b6a38f693495791c26 (patch) | |
tree | a477172dcc4ef3fa73da419afce67880197f4457 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 0ed86aca7158ff5bfeaca08dd7a27f063f833ad0 (diff) | |
download | llvm-414832fea6de1c13f27ac9b6a38f693495791c26.zip llvm-414832fea6de1c13f27ac9b6a38f693495791c26.tar.gz llvm-414832fea6de1c13f27ac9b6a38f693495791c26.tar.bz2 |
Const correctness fixes
llvm-svn: 7349
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 83567a4..85bf4b6 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/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"; |