avoid creating a temporary string when reading the symbol table for a

module.  This speeds up the bcreader 11%.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-12 18:53:43 +00:00
parent 042ad36871
commit dd8cec59fc
4 changed files with 27 additions and 10 deletions

View File

@ -175,7 +175,7 @@ public:
virtual void handleSymbolTableValue(
unsigned i, ///< The index of the value in this plane
unsigned slot, ///< Slot number of the named value
const std::string& name ///< Name of the value.
const char *name, unsigned NameLen ///< Name of the value.
) {}
/// @brief Handle the end of a value symbol table