Use modern variable name. ConstantUnsignedInt is long since dead. No

functional change with this patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-03-01 20:27:41 +00:00
parent 0102ca8f5a
commit bb9723bd98

View File

@ -623,8 +623,8 @@ AllocationInst::~AllocationInst() {
}
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;
}