mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5f0b20516
commit
8fea6c8315
@ -66,13 +66,13 @@ ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize,
|
||||
uint16_t Version) {
|
||||
uint8_t RefAddrSize = getRefAddrSize(AddrSize, Version);
|
||||
if (AddrSize == 4 && RefAddrSize == 4)
|
||||
return ArrayRef<uint8_t>(FixedFormSizes<4, 4>::sizes);
|
||||
return makeArrayRef(FixedFormSizes<4, 4>::sizes);
|
||||
if (AddrSize == 4 && RefAddrSize == 8)
|
||||
return ArrayRef<uint8_t>(FixedFormSizes<4, 8>::sizes);
|
||||
return makeArrayRef(FixedFormSizes<4, 8>::sizes);
|
||||
if (AddrSize == 8 && RefAddrSize == 4)
|
||||
return ArrayRef<uint8_t>(FixedFormSizes<8, 4>::sizes);
|
||||
return makeArrayRef(FixedFormSizes<8, 4>::sizes);
|
||||
if (AddrSize == 8 && RefAddrSize == 8)
|
||||
return ArrayRef<uint8_t>(FixedFormSizes<8, 8>::sizes);
|
||||
return makeArrayRef(FixedFormSizes<8, 8>::sizes);
|
||||
return None;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user