Use modern variable name. ConstantUnsignedInt is long since dead. No
functional change with this patch.
llvm-svn: 34806
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index f4519d4..8c836a2 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/lib/VMCore/Instructions.cpp
@@ -623,8 +623,8 @@
}
bool AllocationInst::isArrayAllocation() const {
- if (ConstantInt *CUI = dyn_cast<ConstantInt>(getOperand(0)))
- return CUI->getZExtValue() != 1;
+ if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0)))
+ return CI->getZExtValue() != 1;
return true;
}