diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-08 23:54:00 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-08 23:54:00 +0000 |
| commit | 747b6e0be64158d86f47fa876a46bd64a538420d (patch) | |
| tree | 64b1b50dc26f21c5ea3856354d44e25012983775 | |
| parent | 5cc0a67f08aa758e496874620215e5ad81b981aa (diff) | |
| download | bcm5719-llvm-747b6e0be64158d86f47fa876a46bd64a538420d.tar.gz bcm5719-llvm-747b6e0be64158d86f47fa876a46bd64a538420d.zip | |
Rearrange for better alignment and less padding
llvm-svn: 113445
| -rw-r--r-- | llvm/include/llvm/CodeGen/LiveInterval.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h index 17660e94700..450d4b4a3fa 100644 --- a/llvm/include/llvm/CodeGen/LiveInterval.h +++ b/llvm/include/llvm/CodeGen/LiveInterval.h @@ -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. |

