[llvm] r296660 - Reorder fields for better packing. (NFC)

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 11:26:42 PST 2017


Author: probinson
Date: Wed Mar  1 13:26:41 2017
New Revision: 296660

URL: http://llvm.org/viewvc/llvm-project?rev=296660&view=rev
Log:
Reorder fields for better packing. (NFC)

Modified:
    llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h

Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h?rev=296660&r1=296659&r2=296660&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h Wed Mar  1 13:26:41 2017
@@ -127,8 +127,8 @@ class DWARFUnit {
 
   uint32_t Offset;
   uint32_t Length;
-  uint16_t Version;
   const DWARFAbbreviationDeclarationSet *Abbrevs;
+  uint16_t Version;
   uint8_t UnitType;
   uint8_t AddrSize;
   uint64_t BaseAddr;




More information about the llvm-commits mailing list