From b220952acabdfccfbf8686d1164b1f82a7d1e5c9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 24 Apr 2005 07:28:04 +0000 Subject: [PATCH] allow these to take a generic Value* llvm-svn: 21492 --- llvm/include/llvm/InstrTypes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/InstrTypes.h b/llvm/include/llvm/InstrTypes.h index 1c4a8ef868f7..4f4b9373fc5f 100644 --- a/llvm/include/llvm/InstrTypes.h +++ b/llvm/include/llvm/InstrTypes.h @@ -208,10 +208,10 @@ public: /// getNegArgument, getNotArgument - Helper functions to extract the /// unary argument of a NEG or NOT operation implemented via Sub or Xor. /// - static const Value* getNegArgument(const BinaryOperator* Bop); - static Value* getNegArgument( BinaryOperator* Bop); - static const Value* getNotArgument(const BinaryOperator* Bop); - static Value* getNotArgument( BinaryOperator* Bop); + static const Value* getNegArgument(const Value *BinOp); + static Value* getNegArgument( Value *BinOp); + static const Value* getNotArgument(const Value *BinOp); + static Value* getNotArgument( Value *BinOp); BinaryOps getOpcode() const { return static_cast(Instruction::getOpcode());