aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Instructions.cpp4
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;
}