aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bytecode/BytecodeHandler.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-12 18:53:43 +0000
committerChris Lattner <sabre@nondot.org>2007-02-12 18:53:43 +0000
commitdd8cec59fc6b3b3a97932c56b6e6aa8c6453df39 (patch)
treef3bafc8afbd59018d83daf5e443aa8f080a018c9 /include/llvm/Bytecode/BytecodeHandler.h
parent042ad36871d67a2db48bf41a8dbde3a5676fc96f (diff)
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
Diffstat (limited to 'include/llvm/Bytecode/BytecodeHandler.h')
-rw-r--r--include/llvm/Bytecode/BytecodeHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bytecode/BytecodeHandler.h b/include/llvm/Bytecode/BytecodeHandler.h
index b8aecb5734..4084efa14c 100644
--- a/include/llvm/Bytecode/BytecodeHandler.h
+++ b/include/llvm/Bytecode/BytecodeHandler.h
@@ -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