diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-21 18:29:23 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-21 18:29:23 +0000 |
commit | 9685506c4f189c49cb874a8652ff0bc98d4609c3 (patch) | |
tree | dcfb0329016bc55e61e42cdfbc82c075c21f7f26 | |
parent | d493b043c41a192d04054851a51f112ff9da040d (diff) |
Use better variable names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53859 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ELFTargetAsmInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ELFTargetAsmInfo.cpp b/lib/Target/ELFTargetAsmInfo.cpp index d2314168bd..eb3608dcaa 100644 --- a/lib/Target/ELFTargetAsmInfo.cpp +++ b/lib/Target/ELFTargetAsmInfo.cpp @@ -112,13 +112,13 @@ ELFTargetAsmInfo::MergeableStringSection(const GlobalVariable *GV) const { const TargetData *TD = ETM->getTargetData(); Constant *C = cast<GlobalVariable>(GV)->getInitializer(); const ConstantArray *CVA = cast<ConstantArray>(C); - const Type *Type = CVA->getType()->getElementType(); + const Type *Ty = CVA->getType()->getElementType(); - unsigned Size = TD->getABITypeSize(Type); + unsigned Size = TD->getABITypeSize(Ty); if (Size <= 16) { // We also need alignment here const TargetData *TD = ETM->getTargetData(); - unsigned Align = TD->getPrefTypeAlignment(Type); + unsigned Align = TD->getPrefTypeAlignment(Ty); if (Align < Size) Align = Size; |