diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-29 01:44:23 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-29 01:44:23 +0000 |
commit | 8fea6c8315d12df811422acedc1017584b3ef2e5 (patch) | |
tree | 49a01bf5e1bcb03eeb90d6c828fa51838edea8fe | |
parent | f5f0b2051678814e0aa06880c889ce35458bada0 (diff) | |
download | external_llvm-8fea6c8315d12df811422acedc1017584b3ef2e5.zip external_llvm-8fea6c8315d12df811422acedc1017584b3ef2e5.tar.gz external_llvm-8fea6c8315d12df811422acedc1017584b3ef2e5.tar.bz2 |
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193576 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/DebugInfo/DWARFFormValue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/DebugInfo/DWARFFormValue.cpp b/lib/DebugInfo/DWARFFormValue.cpp index c14640a..2ee3934 100644 --- a/lib/DebugInfo/DWARFFormValue.cpp +++ b/lib/DebugInfo/DWARFFormValue.cpp @@ -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; } |