summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2012-09-05 22:26:57 +0000
committerRoman Divacky <rdivacky@freebsd.org>2012-09-05 22:26:57 +0000
commit59324297650c12a8dccf1a7ad650a9e895fdc17e (patch)
treefb52c6e19359d66d87961588b41f2f98ffb894b3 /lib/CodeGen/MachineVerifier.cpp
parent77fffa6fdd389ad6d70a42b36c1c36c768c2de41 (diff)
downloadllvm-59324297650c12a8dccf1a7ad650a9e895fdc17e.tar.gz
llvm-59324297650c12a8dccf1a7ad650a9e895fdc17e.tar.bz2
llvm-59324297650c12a8dccf1a7ad650a9e895fdc17e.tar.xz
Stop casting away const qualifier needlessly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineVerifier.cpp')
-rw-r--r--lib/CodeGen/MachineVerifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineVerifier.cpp b/lib/CodeGen/MachineVerifier.cpp
index f83cdfba5a..181e09ecc9 100644
--- a/lib/CodeGen/MachineVerifier.cpp
+++ b/lib/CodeGen/MachineVerifier.cpp
@@ -368,7 +368,7 @@ void MachineVerifier::report(const char *msg, const MachineBasicBlock *MBB) {
report(msg, MBB->getParent());
*OS << "- basic block: BB#" << MBB->getNumber()
<< ' ' << MBB->getName()
- << " (" << (void*)MBB << ')';
+ << " (" << (const void*)MBB << ')';
if (Indexes)
*OS << " [" << Indexes->getMBBStartIdx(MBB)
<< ';' << Indexes->getMBBEndIdx(MBB) << ')';