Rearrange for better alignment and less padding
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 8 Sep 2010 23:54:00 +0000 (23:54 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 8 Sep 2010 23:54:00 +0000 (23:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113445 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveInterval.h

index 17660e947001cf7f69b5bf81df03f793f0c6afa9..450d4b4a3fac90a7935b5c8a787ba05f15f5f3fd 100644 (file)
@@ -60,8 +60,8 @@ namespace llvm {
       IS_DEF_ACCURATE = 1 << 4
     };
 
-    unsigned char flags;
     MachineInstr *copy;
+    unsigned char flags;
 
   public:
     typedef BumpPtrAllocator Allocator;
@@ -76,11 +76,12 @@ namespace llvm {
     /// d is presumed to point to the actual defining instr. If it doesn't
     /// setIsDefAccurate(false) should be called after construction.
     VNInfo(unsigned i, SlotIndex d, MachineInstr *c)
-      : flags(IS_DEF_ACCURATE), id(i), def(d) { copy = c; }
+      : copy(c), flags(IS_DEF_ACCURATE), id(i), def(d)
+    { }
 
     /// VNInfo construtor, copies values from orig, except for the value number.
     VNInfo(unsigned i, const VNInfo &orig)
-      : flags(orig.flags), copy(orig.copy), id(i), def(orig.def)
+      : copy(orig.copy), flags(orig.flags), id(i), def(orig.def)
     { }
 
     /// Copy from the parameter into this VNInfo.