diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-14 23:35:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-14 23:35:21 +0000 |
commit | 9e893e8a3d57492d40c44877736703c9a2882e73 (patch) | |
tree | 1e16d3974f9a003b9a4d1ca751ccd80fecb239b5 /lib/Bytecode/Reader/ReaderInternals.h | |
parent | dcea63026ff5e8baf73edb26cc11e34e2a627dce (diff) | |
download | external_llvm-9e893e8a3d57492d40c44877736703c9a2882e73.tar.gz external_llvm-9e893e8a3d57492d40c44877736703c9a2882e73.tar.bz2 external_llvm-9e893e8a3d57492d40c44877736703c9a2882e73.zip |
Version 1.2 now supports encoding strings as a special case, to avoid having
to emit all of those sbyte constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r-- | lib/Bytecode/Reader/ReaderInternals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index b1d9c605f7..54a38e457b 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h @@ -177,6 +177,9 @@ private: TypeValuesListTy &Tab, unsigned NumEntries); const Type *parseTypeConstant(const unsigned char *&Buf, const unsigned char *EndBuf); + void parseStringConstants(const unsigned char *&Buf, + const unsigned char *EndBuf, + unsigned NumEntries, ValueTable &Tab); Value *getValue(unsigned TypeID, unsigned num, bool Create = true); const Type *getType(unsigned ID); |