mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fixed build failure (due to unused variable error) in r273807.
llvm-svn: 273809
This commit is contained in:
parent
eef5ae3754
commit
ae2245ccca
@ -911,7 +911,6 @@ TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) {
|
||||
TypeIndex IndexType = Asm->MAI->getPointerSize() == 8
|
||||
? TypeIndex(SimpleTypeKind::UInt64Quad)
|
||||
: TypeIndex(SimpleTypeKind::UInt32Long);
|
||||
uint64_t Size = Ty->getSizeInBits() / 8;
|
||||
assert(ElementTypeRef.resolve());
|
||||
uint64_t ElementSize = ElementTypeRef.resolve()->getSizeInBits() / 8;
|
||||
|
||||
@ -957,8 +956,7 @@ TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) {
|
||||
ArrayRecord(ElementTypeIndex, IndexType, ElementSize, Name));
|
||||
}
|
||||
|
||||
(void)UndefinedSubrange;
|
||||
assert(UndefinedSubrange || ElementSize == Size);
|
||||
assert(UndefinedSubrange || ElementSize == (Ty->getSizeInBits() / 8));
|
||||
|
||||
return ElementTypeIndex;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user