diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-03-07 01:42:16 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-07 01:42:16 +0000 |
| commit | fc1b80d4810b521f99f4858ac37280dfe70a0fb5 (patch) | |
| tree | 9e5294567e7ca503954f7a647953d0a5b45d2a9a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 9153f08c74c4fd85043481d6949e7b9a80dbcdf4 (diff) | |
| download | llvm-fc1b80d4810b521f99f4858ac37280dfe70a0fb5.zip llvm-fc1b80d4810b521f99f4858ac37280dfe70a0fb5.tar.gz llvm-fc1b80d4810b521f99f4858ac37280dfe70a0fb5.tar.bz2 | |
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.
llvm-svn: 66316
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
