diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 20:27:41 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 20:27:41 +0000 |
commit | bb9723bd980753702527ad037a700fd9a4c9f247 (patch) | |
tree | 6b89dc53092355d41c9960c2f7082c169ef17977 /lib/VMCore | |
parent | 0102ca8f5a79def51018675048172822113e352f (diff) | |
download | external_llvm-bb9723bd980753702527ad037a700fd9a4c9f247.zip external_llvm-bb9723bd980753702527ad037a700fd9a4c9f247.tar.gz external_llvm-bb9723bd980753702527ad037a700fd9a4c9f247.tar.bz2 |
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
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index f4519d4..8c836a2 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<ConstantInt>(getOperand(0))) - return CUI->getZExtValue() != 1; + if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0))) + return CI->getZExtValue() != 1; return true; } |