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 | a785563692e59393c68f3a6311d544c384bcc1dd (patch) | |
| tree | 2a36266b55d8f3dc5fa01b6f3371b8d0c2276ff8 /llvm/lib/Bytecode/Reader/ReaderInternals.h | |
| parent | 1dc3f3fdc0511f2f73afda59ec23eedc7d96585a (diff) | |
| download | bcm5719-llvm-a785563692e59393c68f3a6311d544c384bcc1dd.tar.gz bcm5719-llvm-a785563692e59393c68f3a6311d544c384bcc1dd.zip | |
Avoid calling getTypeSlot more
llvm-svn: 9077
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ReaderInternals.h')
| -rw-r--r-- | llvm/lib/Bytecode/Reader/ReaderInternals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h index 61e6fa9bd76..7f921d7913d 100644 --- a/llvm/lib/Bytecode/Reader/ReaderInternals.h +++ b/llvm/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); |

