From: Vikram S. Adve Date: Sun, 14 Oct 2001 23:16:27 +0000 (+0000) Subject: Added routine to create a char array for a string. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c9abc6528df2e50b9951fb45acedf7e3bcd4617b;p=oota-llvm.git Added routine to create a char array for a string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@798 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h index fa50a6b1ace..be245abd7b3 100644 --- a/include/llvm/ConstPoolVals.h +++ b/include/llvm/ConstPoolVals.h @@ -213,7 +213,8 @@ protected: virtual void destroyConstant(); public: static ConstPoolArray *get(const ArrayType *T, const vector &); - + static ConstPoolArray *get(const string& stringConstant); + virtual string getStrValue() const; inline const vector &getValues() const { return Operands; }