allow these to take a generic Value*
authorChris Lattner <sabre@nondot.org>
Sun, 24 Apr 2005 07:28:04 +0000 (07:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Apr 2005 07:28:04 +0000 (07:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21492 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/InstrTypes.h

index 1c4a8ef868f7115303329cfbade5b31a5bcbaf9e..4f4b9373fc5fb47ee59074cb7b3444d12226119d 100644 (file)
@@ -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<BinaryOps>(Instruction::getOpcode());