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 | 34495b1b6d6da2a4919d2755306c771459f66769 (patch) | |
tree | 47e0230757bba1700416e4cf0a17b85ef7397716 /llvm/lib/Bytecode/Writer/SlotCalculator.h | |
parent | fa60ec48d31a453a2e369f89eec8829c0527f418 (diff) | |
download | bcm5719-llvm-34495b1b6d6da2a4919d2755306c771459f66769.tar.gz bcm5719-llvm-34495b1b6d6da2a4919d2755306c771459f66769.zip |
refactor callers of insertType. inline insertType into its one remaining caller.
llvm-svn: 34124
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotCalculator.h')
-rw-r--r-- | llvm/lib/Bytecode/Writer/SlotCalculator.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.h b/llvm/lib/Bytecode/Writer/SlotCalculator.h index a57b202a8ad..5fc15baacef 100644 --- a/llvm/lib/Bytecode/Writer/SlotCalculator.h +++ b/llvm/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); |