-
-//===----------------------------------------------------------------------===//
-// MethodArgument Class
-//===----------------------------------------------------------------------===//
-
-// Specialize setName to take care of symbol table majik
-void MethodArgument::setName(const string &name) {
- Method *P;
- if ((P = getParent()) && hasName()) P->getSymbolTable()->remove(this);
- Value::setName(name);
- if (P && hasName()) P->getSymbolTable()->insert(this);
+TerminatorInst::TerminatorInst(const Type *Ty, Instruction::TermOps iType,
+ const std::string &Name)
+ : Instruction(Ty, iType, Name) {