aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/Reader.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 /lib/Bytecode/Reader/Reader.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 'lib/Bytecode/Reader/Reader.h')
-rw-r--r--lib/Bytecode/Reader/Reader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h
index 8acf6c042f..ca966f1cc7 100644
--- a/lib/Bytecode/Reader/Reader.h
+++ b/lib/Bytecode/Reader/Reader.h
@@ -438,6 +438,7 @@ private:
/// @brief Read a string
inline std::string read_str();
+ inline void read_str(SmallVectorImpl<char> &StrData);
/// @brief Read a float value
inline void read_float(float& FloatVal);