aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commitad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1 (patch)
treebdd8f9546bc9b5b2df114c513474027b0bb5c7d5 /llvm/lib/CodeGen/MachineVerifier.cpp
parentcbd2a1983f77fc655d7dd620e6287c82776c5698 (diff)
downloadllvm-ad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1.zip
llvm-ad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1.tar.gz
llvm-ad06cee239ab6baaa8bdd8ce3b381faf1cc0e8f1.tar.bz2
Stop casting away const qualifier needlessly.
llvm-svn: 163258
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineVerifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp
index f83cdfb..181e09e 100644
--- a/llvm/lib/CodeGen/MachineVerifier.cpp
+++ b/llvm/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) << ')';