[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp
Reid Spencer
reid at x10sys.com
Thu Mar 1 12:27:58 PST 2007
Changes in directory llvm/lib/VMCore:
Instructions.cpp updated: 1.79 -> 1.80
---
Log message:
Use modern variable name. ConstantUnsignedInt is long since dead. No
functional change with this patch.
---
Diffs of the changes: (+2 -2)
Instructions.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Instructions.cpp
diff -u llvm/lib/VMCore/Instructions.cpp:1.79 llvm/lib/VMCore/Instructions.cpp:1.80
--- llvm/lib/VMCore/Instructions.cpp:1.79 Wed Feb 28 16:00:54 2007
+++ llvm/lib/VMCore/Instructions.cpp Thu Mar 1 14:27:41 2007
@@ -623,8 +623,8 @@
}
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;
}
More information about the llvm-commits
mailing list