From: Reid Spencer Date: Thu, 1 Mar 2007 20:27:41 +0000 (+0000) Subject: Use modern variable name. ConstantUnsignedInt is long since dead. No X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=bb9723bd980753702527ad037a700fd9a4c9f247;p=oota-llvm.git 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 --- diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index f4519d4dc29..8c836a2515c 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -623,8 +623,8 @@ AllocationInst::~AllocationInst() { } bool AllocationInst::isArrayAllocation() const { - if (ConstantInt *CUI = dyn_cast(getOperand(0))) - return CUI->getZExtValue() != 1; + if (ConstantInt *CI = dyn_cast(getOperand(0))) + return CI->getZExtValue() != 1; return true; }