diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-10 04:51:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-10 04:51:21 +0000 |
commit | 17d60ce7951acb40094751fce0439a8960fec6a2 (patch) | |
tree | b5c665d43ab6a4cc8a3d92cc2169b5579ae7e2c3 /lib/Bytecode/Writer/SlotCalculator.h | |
parent | 25c3fa3152f8da99913e8463e0098a5ebe86c466 (diff) |
refactor callers of insertType. inline insertType into its one remaining caller.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.h')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index a57b202a8a..5fc15baace 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -111,12 +111,6 @@ private: int getOrCreateSlot(const Value *V); unsigned getOrCreateTypeSlot(const Type *T); - // insertValue - Insert a value into the value table... Return the - // slot that it occupies, or -1 if the declaration is to be ignored - // because of the IgnoreNamedNodes flag. - // - unsigned insertType(const Type *T); - // doInsertValue - Small helper function to be called only be insertVal. unsigned doInsertType(const Type *T); |