summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-09 05:25:34 +0000
committerChris Lattner <sabre@nondot.org>2003-10-09 05:25:34 +0000
commita9c297c8ea9ff8e45074ab93aee65f780f8f3b93 (patch)
treeaa7170d024ef0b987c6def6012847c0139ecce8c /llvm/lib/Bytecode/Reader/Reader.cpp
parentabf6412c09a5c05bef936fe0ce2cdda3d572fe73 (diff)
downloadbcm5719-llvm-a9c297c8ea9ff8e45074ab93aee65f780f8f3b93.tar.gz
bcm5719-llvm-a9c297c8ea9ff8e45074ab93aee65f780f8f3b93.zip
Remove a dead method
llvm-svn: 8978
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Reader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/Reader.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.cpp b/llvm/lib/Bytecode/Reader/Reader.cpp
index af775d282a4..66111dd93d0 100644
--- a/llvm/lib/Bytecode/Reader/Reader.cpp
+++ b/llvm/lib/Bytecode/Reader/Reader.cpp
@@ -102,17 +102,6 @@ int BytecodeParser::insertValue(Value *Val, ValueTable &ValueTab) {
}
-void BytecodeParser::setValueTo(ValueTable &ValueTab, unsigned Slot,
- Value *Val) {
- assert(&ValueTab == &ModuleValues && "Can only setValueTo on Module values!");
- assert((!HasImplicitZeroInitializer || Slot != 0) &&
- "Cannot change zero init");
- unsigned type = getTypeSlot(Val->getType());
- assert(type < ValueTab.size() && Slot <= ValueTab[type]->size());
- ValueTab[type]->setOperand(Slot-HasImplicitZeroInitializer, Val);
-}
-
-
Value *BytecodeParser::getValue(const Type *Ty, unsigned oNum, bool Create) {
return getValue(getTypeSlot(Ty), oNum, Create);
}
OpenPOWER on IntegriCloud