diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-13 14:34:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-13 14:34:59 +0000 |
commit | f0d9273af7079c3057d62689babf8e61cbbc3eaa (patch) | |
tree | a7b825ef74ef915b081b0d9173abf959be3f9c0d /lib/Bytecode/Reader/ReaderInternals.h | |
parent | 1825009ba8133992c103102556d32a25aa524d0c (diff) |
Avoid calling getTypeSlot more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r-- | lib/Bytecode/Reader/ReaderInternals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index 61e6fa9bd7..7f921d7913 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h @@ -170,6 +170,7 @@ private: Constant *getConstantValue(const Type *Ty, unsigned num); unsigned insertValue(Value *V, ValueTable &Table); + unsigned insertValue(Value *V, unsigned Type, ValueTable &Table); unsigned getTypeSlot(const Type *Ty); |