diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-05 18:59:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-05 18:59:36 +0000 |
commit | d0478744b3b5232694d0f887b3210078de5266c4 (patch) | |
tree | f85fd5971b10f429f20c2d5d07618e816e9a1a70 /include/llvm/Instruction.h | |
parent | 60fbe9b6d00c2740da5701ff5c25588867f21422 (diff) | |
download | external_llvm-d0478744b3b5232694d0f887b3210078de5266c4.zip external_llvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.gz external_llvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.bz2 |
Remove the second argument to Value::setName, it is never needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 8d69afa..ae8d5ca 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -54,8 +54,8 @@ public: assert(Parent == 0 && "Instruction still linked in the program!"); } - // Specialize setName to handle symbol table majik... - virtual void setName(const std::string &name, SymbolTable *ST = 0); + // Specialize setName to handle symbol table majik. + virtual void setName(const std::string &name); /// mayWriteToMemory - Return true if this instruction may modify memory. /// |