[llvm-commits] CVS: llvm/include/llvm/InstrTypes.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Apr 24 00:28:21 PDT 2005
Changes in directory llvm/include/llvm:
InstrTypes.h updated: 1.44 -> 1.45
---
Log message:
allow these to take a generic Value*
---
Diffs of the changes: (+4 -4)
InstrTypes.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/include/llvm/InstrTypes.h
diff -u llvm/include/llvm/InstrTypes.h:1.44 llvm/include/llvm/InstrTypes.h:1.45
--- llvm/include/llvm/InstrTypes.h:1.44 Thu Apr 21 22:20:18 2005
+++ llvm/include/llvm/InstrTypes.h Sun Apr 24 02:28:04 2005
@@ -208,10 +208,10 @@
/// 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());
More information about the llvm-commits
mailing list