aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGBlocks.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-07 01:42:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-07 01:42:16 +0000
commitccb9bac3adb35a2dc78c1737e7b2dc6537a16393 (patch)
tree616c55886a76326106391d535f9435ce8bb4e08a /lib/CodeGen/CGBlocks.cpp
parentb9eb3afc9eafbb1c6815c8b63633065f370be6a5 (diff)
Cleanup/comment IdentifierInfo::get.
- Shaves off a few instructions on x86_64. One notable change: this intentionally stops setting the II->Entry field of IdentifierInfo's retrieved by the ExternalLookup method. This is to maintain the invariant that .getName() has a constant value for any given IdentifierInfo. IRgen currently relies on this; which is quite questionable but will be cleaned up in time. Apologies for the lack of a test case; there really isn't a good way to make one. As IRgen will eventually be fixed to not rely on this, we can survive without one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions