Changes in directory llvm/include/llvm:
Constants.h updated: 1.84 -> 1.85 --- Log message: Add another helper method. --- Diffs of the changes: (+4 -0) Constants.h | 4 ++++ 1 files changed, 4 insertions(+) Index: llvm/include/llvm/Constants.h diff -u llvm/include/llvm/Constants.h:1.84 llvm/include/llvm/Constants.h:1.85 --- llvm/include/llvm/Constants.h:1.84 Fri Jul 14 14:37:01 2006 +++ llvm/include/llvm/Constants.h Fri Jul 14 17:19:18 2006 @@ -618,6 +618,10 @@ /// one, but with the specified operand set to the specified value. Constant *getWithOperandReplaced(unsigned OpNo, Constant *Op) const; + /// getWithOperands - This returns the current constant expression with the + /// operands replaced with the specified values. The specified operands must + /// match count and type with the existing ones. + Constant *getWithOperands(const std::vector<Constant*> &Ops) const; virtual void destroyConstant(); virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits