projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0102ca8
)
Use modern variable name. ConstantUnsignedInt is long since dead. No
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 1 Mar 2007 20:27:41 +0000
(20:27 +0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instructions.cpp
b/lib/VMCore/Instructions.cpp
index f4519d4dc2964480fba529c998f767c6a445bff0..8c836a2515cef6d9e0e608a5daef360e61dd6bed 100644
(file)
--- a/
lib/VMCore/Instructions.cpp
+++ b/
lib/VMCore/Instructions.cpp
@@
-623,8
+623,8
@@
AllocationInst::~AllocationInst() {
}
bool AllocationInst::isArrayAllocation() const {
- if (ConstantInt *C
U
I = dyn_cast<ConstantInt>(getOperand(0)))
- return C
U
I->getZExtValue() != 1;
+ if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0)))
+ return CI->getZExtValue() != 1;
return true;
}