Changes in directory llvm/include/llvm:
Constants.h updated: 1.95 -> 1.96 --- Log message: add a new ConstantIntegral::get method. Simplify the implementation of ConstantInt::get --- 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.95 llvm/include/llvm/Constants.h:1.96 --- llvm/include/llvm/Constants.h:1.95 Sun Nov 26 19:05:09 2006 +++ llvm/include/llvm/Constants.h Fri Dec 1 13:20:02 2006 @@ -44,6 +44,10 @@ uint64_t Val; ConstantIntegral(const Type *Ty, ValueTy VT, uint64_t V); public: + + /// ConstantIntegral::get - Return a bool or integer constant. + static ConstantIntegral *get(const Type *Ty, int64_t V); + /// Return the constant as a 64-bit unsigned integer value after it /// has been zero extended as appropriate for the type of this constant. /// @brief Return the zero extended value. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits