summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-09 19:39:58 +0000
committerChris Lattner <sabre@nondot.org>2002-04-09 19:39:58 +0000
commit5f79b333fe4937f9da6c901d1b2df3dc536c2707 (patch)
treef69c1b4e9bef31c7c40e94fa656b0250213a4f5c /llvm/lib
parentd255ae24db15bd6b44f486d6dc7ad4c7fa3193ab (diff)
downloadbcm5719-llvm-5f79b333fe4937f9da6c901d1b2df3dc536c2707.tar.gz
bcm5719-llvm-5f79b333fe4937f9da6c901d1b2df3dc536c2707.zip
Move FunctionArgument out of iOther.h into Argument.h and rename class to
be 'Argument' instead of FunctionArgument. Move implementation to Function.cpp llvm-svn: 2212
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/InstrTypes.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/VMCore/InstrTypes.cpp b/llvm/lib/VMCore/InstrTypes.cpp
index f42d633dbb8..6fb18693fe2 100644
--- a/llvm/lib/VMCore/InstrTypes.cpp
+++ b/llvm/lib/VMCore/InstrTypes.cpp
@@ -27,21 +27,6 @@ TerminatorInst::TerminatorInst(const Type *Ty, Instruction::TermOps iType,
//===----------------------------------------------------------------------===//
-// FunctionArgument Class
-//===----------------------------------------------------------------------===//
-
-// Specialize setName to take care of symbol table majik
-void FunctionArgument::setName(const std::string &name, SymbolTable *ST) {
- Function *P;
- assert((ST == 0 || (!getParent() || ST == getParent()->getSymbolTable())) &&
- "Invalid symtab argument!");
- if ((P = getParent()) && hasName()) P->getSymbolTable()->remove(this);
- Value::setName(name);
- if (P && hasName()) P->getSymbolTable()->insert(this);
-}
-
-
-//===----------------------------------------------------------------------===//
// PHINode Class
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud