aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/InstrTypes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-24 07:28:04 +0000
committerChris Lattner <sabre@nondot.org>2005-04-24 07:28:04 +0000
commit353835447c22559f00d010b9274bea96abf77e06 (patch)
tree1ae9b9ed25c9f9552a72520128ba7ad22bea7f3b /include/llvm/InstrTypes.h
parent484d3cf0e37beac7deed68a4b2c14c0cda09729c (diff)
downloadexternal_llvm-353835447c22559f00d010b9274bea96abf77e06.zip
external_llvm-353835447c22559f00d010b9274bea96abf77e06.tar.gz
external_llvm-353835447c22559f00d010b9274bea96abf77e06.tar.bz2
allow these to take a generic Value*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InstrTypes.h')
-rw-r--r--include/llvm/InstrTypes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index 1c4a8ef..4f4b937 100644
--- a/include/llvm/InstrTypes.h
+++ b/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<BinaryOps>(Instruction::getOpcode());