summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-23 15:30:06 +0000
committerChris Lattner <sabre@nondot.org>2003-07-23 15:30:06 +0000
commitf26a8ee58017b22c41483b45679385eb0d31f000 (patch)
tree74820d8b9ed2e434081403a2d3e79cc4c260eea0 /llvm/lib/Target/Sparc
parent6077c3195f74b27b75ed3e9df3af7a13798b437f (diff)
downloadbcm5719-llvm-f26a8ee58017b22c41483b45679385eb0d31f000.tar.gz
bcm5719-llvm-f26a8ee58017b22c41483b45679385eb0d31f000.zip
Remove redundant const qualifiers from cast<> expressions
llvm-svn: 7253
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/EmitAssembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp
index 019d447e502..1094a484a11 100644
--- a/llvm/lib/Target/Sparc/EmitAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp
@@ -413,7 +413,7 @@ SparcFunctionAsmPrinter::printOneOperand(const MachineOperand &mop,
const Value *Val = mop.getVRegValue();
assert(Val && "\tNULL Value in SparcFunctionAsmPrinter");
- if (const BasicBlock *BB = dyn_cast<const BasicBlock>(Val))
+ if (const BasicBlock *BB = dyn_cast<BasicBlock>(Val))
toAsm << getID(BB);
else if (const Function *M = dyn_cast<Function>(Val))
toAsm << getID(M);
OpenPOWER on IntegriCloud