aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-03 05:40:04 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-03 05:40:04 +0000
commitf37712f48642bcca04c77083c0579e7fe8d4d916 (patch)
tree55346161df1fd9b24e9fa5d51537037b8e425cfc /lib/MC/ELFObjectWriter.cpp
parenta97ff8a027259b1b9e4dbdb5b6f01cc2195a6948 (diff)
Represent sentinel slot indexes with a null pointer.
This is much faster than using a pointer to a ManagedStatic object accessed with a function call. The greedy register allocator is 5% faster overall just from the SlotIndex default constructor savings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions