diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-09 21:39:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-09 21:39:38 +0000 |
commit | dc1e020444942b1dc721a84b21f5d634689762a5 (patch) | |
tree | be60da2b4ac7bcf7040cdf5353cf1b1a6abab0ac /include | |
parent | 035dfbe7f2d109008d2d62d9f2a67efb477a7ab6 (diff) | |
download | external_llvm-dc1e020444942b1dc721a84b21f5d634689762a5.zip external_llvm-dc1e020444942b1dc721a84b21f5d634689762a5.tar.gz external_llvm-dc1e020444942b1dc721a84b21f5d634689762a5.tar.bz2 |
UnaryOperator::create should take a name just like BinaryOperator::create
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/InstrTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index 9a28d64..8d1b5f1 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -69,7 +69,8 @@ public: // create() - Construct a unary instruction, given the opcode // and its operand. // - static UnaryOperator *create(UnaryOps Op, Value *Source); + static UnaryOperator *create(UnaryOps Op, Value *Source, + const std::string &Name = ""); inline UnaryOps getOpcode() const { return (UnaryOps)Instruction::getOpcode(); |