Eliminate an unnecessary cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-08-25 17:09:03 +00:00
parent 3cc3283fcb
commit 879d811563

View File

@ -387,7 +387,7 @@ void ValueEnumerator::EnumerateOperandType(const Value *V) {
// blockaddress.
if (isa<BasicBlock>(Op)) continue;
EnumerateOperandType(cast<Constant>(Op));
EnumerateOperandType(Op);
}
if (const MDNode *N = dyn_cast<MDNode>(V)) {