X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FInstrTypes.h;h=4f4b9373fc5fb47ee59074cb7b3444d12226119d;hb=353835447c22559f00d010b9274bea96abf77e06;hp=1c4a8ef868f7115303329cfbade5b31a5bcbaf9e;hpb=484d3cf0e37beac7deed68a4b2c14c0cda09729c;p=oota-llvm.git diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index 1c4a8ef868f..4f4b9373fc5 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(Instruction::getOpcode());