aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ConstPoolVals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h
index fa50a6b1ac..be245abd7b 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<ConstPoolVal*> &);
-
+ static ConstPoolArray *get(const string& stringConstant);
+
virtual string getStrValue() const;
inline const vector<Use> &getValues() const { return Operands; }