summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit85555779dea92995d1b4146d168ce9ec5d1b3f01 (patch)
treea895376c1309efc769afb6adb959c119df8b028b /llvm/lib/Bytecode/Reader/ReaderInternals.h
parentb5c59fa16d789d3051d598721aab2aca512fe481 (diff)
downloadbcm5719-llvm-85555779dea92995d1b4146d168ce9ec5d1b3f01.tar.gz
bcm5719-llvm-85555779dea92995d1b4146d168ce9ec5d1b3f01.zip
Various cleanups and simplifications. This speeds up reading a bytecode file
Bill gave me from 8.69s to 6.90s. llvm-svn: 8971
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r--llvm/lib/Bytecode/Reader/ReaderInternals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h
index f08cedf8cfb..c022519e58e 100644
--- a/llvm/lib/Bytecode/Reader/ReaderInternals.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud