summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-01 20:27:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-01 20:27:41 +0000
commita9e6e31db64908a6eb24e828ad71fcb079061e0b (patch)
tree7c8650a5f3118fcdc95697a9e9df86b829363225 /llvm
parent82af5943d101b1ae647794b401fe16f4cd838be0 (diff)
downloadbcm5719-llvm-a9e6e31db64908a6eb24e828ad71fcb079061e0b.tar.gz
bcm5719-llvm-a9e6e31db64908a6eb24e828ad71fcb079061e0b.zip
Use modern variable name. ConstantUnsignedInt is long since dead. No
functional change with this patch. llvm-svn: 34806
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Instructions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index f4519d4dc29..8c836a2515c 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud