mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 23:29:20 +00:00
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
This commit is contained in:
parent
0102ca8f5a
commit
bb9723bd98
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user