diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-21 19:26:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-21 19:26:15 +0000 |
commit | cdb73882335834d40ffc7343d55ca89d49417585 (patch) | |
tree | 2b5c38f654075a400651299aec7fdf0670521521 /include/llvm/CodeGen/SelectionDAGNodes.h | |
parent | 94d7a5f8156e62532870fbaf197377b34e52ff2a (diff) |
Reorder some fields in SDNode. This avoids padding,
reducings its size from 80 to 72 on 64-bit hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 83f819a2d5..1c3a50de14 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1051,17 +1051,17 @@ private: /// NumOperands/NumValues - The number of entries in the Operand/Value list. unsigned short NumOperands, NumValues; - /// Prev/Next pointers - These pointers form the linked list of of the - /// AllNodes list in the current DAG. - SDNode *Prev, *Next; - friend struct ilist_traits<SDNode>; - /// UsesSize - The size of the uses list. unsigned UsesSize; /// Uses - List of uses for this SDNode. SDUse *Uses; + /// Prev/Next pointers - These pointers form the linked list of of the + /// AllNodes list in the current DAG. + SDNode *Prev, *Next; + friend struct ilist_traits<SDNode>; + /// addUse - add SDUse to the list of uses. void addUse(SDUse &U) { U.addToList(&Uses); } |