| commit | 422cfcdcb3c33b50878fd66dca3fa4091e95ac9b | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Tue Apr 17 04:04:14 2007 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Tue Apr 17 04:04:14 2007 +0000 |
| tree | a81201eb2030d0a063c90f22502039d85d28dc21 | |
| parent | b47aa543bb7a2e1521eea79978dc83cf0c8125bc [diff] |
The (negative) offset from a SymbolTableListTraits-using ilist to its container object is always constant. As such, evaluate it at compile time instead of storing it as an ivar in SymbolTableListTraits. This shrinks every SymbolTableListTraits ilist by a word, shrinking BasicBlock from 44->40 bytes, Function from 96->88 bytes, and Module from 60->52 bytes. llvm-svn: 36189