Use modern variable name. ConstantUnsignedInt is long since dead. No
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 20:27:41 +0000 (20:27 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 20:27:41 +0000 (20:27 +0000)
functional change with this patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34806 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Instructions.cpp

index f4519d4dc2964480fba529c998f767c6a445bff0..8c836a2515cef6d9e0e608a5daef360e61dd6bed 100644 (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;
 }