remove all of the various setName implementations, consolidating them into

Value::setName, which is no longer virtual.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-03-05 19:51:50 +00:00
parent 7acff25f7f
commit 0d1e40728d
13 changed files with 30 additions and 72 deletions

View File

@ -54,9 +54,6 @@ public:
assert(Parent == 0 && "Instruction still linked in the program!");
}
// Specialize setName to handle symbol table majik.
virtual void setName(const std::string &name);
/// mayWriteToMemory - Return true if this instruction may modify memory.
///
virtual bool mayWriteToMemory() const { return false; }