llvm.org GIT mirror llvm / 8fea6c8
Clean up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193576 91177308-0d34-0410-b5e6-96231b3b80d8 Richard Smith 5 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
6565 uint16_t Version) {
6666 uint8_t RefAddrSize = getRefAddrSize(AddrSize, Version);
6767 if (AddrSize == 4 && RefAddrSize == 4)
68 return ArrayRef(FixedFormSizes<4, 4>::sizes);
68 return makeArrayRef(FixedFormSizes<4, 4>::sizes);
6969 if (AddrSize == 4 && RefAddrSize == 8)
70 return ArrayRef(FixedFormSizes<4, 8>::sizes);
70 return makeArrayRef(FixedFormSizes<4, 8>::sizes);
7171 if (AddrSize == 8 && RefAddrSize == 4)
72 return ArrayRef(FixedFormSizes<8, 4>::sizes);
72 return makeArrayRef(FixedFormSizes<8, 4>::sizes);
7373 if (AddrSize == 8 && RefAddrSize == 8)
74 return ArrayRef(FixedFormSizes<8, 8>::sizes);
74 return makeArrayRef(FixedFormSizes<8, 8>::sizes);
7575 return None;
7676 }
7777