[llvm] r193576 - Clean up.
Richard Smith
richard-llvm at metafoo.co.uk
Mon Oct 28 18:44:23 PDT 2013
Author: rsmith
Date: Mon Oct 28 20:44:23 2013
New Revision: 193576
URL: http://llvm.org/viewvc/llvm-project?rev=193576&view=rev
Log:
Clean up.
Modified:
llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp?rev=193576&r1=193575&r2=193576&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp Mon Oct 28 20:44:23 2013
@@ -66,13 +66,13 @@ ArrayRef<uint8_t> DWARFFormValue::getFix
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;
}
More information about the llvm-commits
mailing list