commit | f0d9273af7079c3057d62689babf8e61cbbc3eaa | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Oct 13 14:34:59 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Oct 13 14:34:59 2003 +0000 |
tree | a7b825ef74ef915b081b0d9173abf959be3f9c0d | |
parent | 1825009ba8133992c103102556d32a25aa524d0c [diff] [blame] |
Avoid calling getTypeSlot more git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9077 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index 61e6fa9..7f921d7 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h
@@ -170,6 +170,7 @@ 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);