aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/ReaderInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-08 21:18:57 +0000
committerChris Lattner <sabre@nondot.org>2003-10-08 21:18:57 +0000
commit36392bc5242accd1a5a1b3efe745ffa785616741 (patch)
treeb3f096e469e812f33cb082001b033e1f429a1d01 /lib/Bytecode/Reader/ReaderInternals.h
parent7f58de2b991cb8dff4d1bd3e8c9ece9ea2ba639c (diff)
Various cleanups and simplifications. This speeds up reading a bytecode file
Bill gave me from 8.69s to 6.90s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r--lib/Bytecode/Reader/ReaderInternals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h
index f08cedf8cf..c022519e58 100644
--- a/lib/Bytecode/Reader/ReaderInternals.h
+++ b/lib/Bytecode/Reader/ReaderInternals.h
@@ -179,6 +179,7 @@ private:
const unsigned char *EndBuf);
Value *getValue(const Type *Ty, unsigned num, bool Create = true);
+ Value *getValue(unsigned TypeID, unsigned num, bool Create = true);
const Type *getType(unsigned ID);
Constant *getConstantValue(const Type *Ty, unsigned num);