allow these to take a generic Value*

llvm-svn: 21492
This commit is contained in:
Chris Lattner 2005-04-24 07:28:04 +00:00
parent d1f46d3bf9
commit b220952aca
1 changed files with 4 additions and 4 deletions

View File

@ -208,10 +208,10 @@ public:
/// getNegArgument, getNotArgument - Helper functions to extract the /// getNegArgument, getNotArgument - Helper functions to extract the
/// unary argument of a NEG or NOT operation implemented via Sub or Xor. /// unary argument of a NEG or NOT operation implemented via Sub or Xor.
/// ///
static const Value* getNegArgument(const BinaryOperator* Bop); static const Value* getNegArgument(const Value *BinOp);
static Value* getNegArgument( BinaryOperator* Bop); static Value* getNegArgument( Value *BinOp);
static const Value* getNotArgument(const BinaryOperator* Bop); static const Value* getNotArgument(const Value *BinOp);
static Value* getNotArgument( BinaryOperator* Bop); static Value* getNotArgument( Value *BinOp);
BinaryOps getOpcode() const { BinaryOps getOpcode() const {
return static_cast<BinaryOps>(Instruction::getOpcode()); return static_cast<BinaryOps>(Instruction::getOpcode());