Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index 1ad5f07ea52201447b02d2d427c8893865e4046f..beb5bc077e1de921623e0fc0b0a1dcc359b02f21 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -77,6 +77,9 @@ public: |
// Returns a symbolic constant. |
Constant *getConstantSym(Type Ty, int64_t Offset, const IceString &Name = "", |
bool SuppressMangling = false); |
+ // getConstantPool() returns a copy of the constant pool for |
+ // constants of a given type. |
+ ConstantList getConstantPool(Type Ty) const; |
// Allocate data of type T using the global allocator. |
template <typename T> T *allocate() { return Allocator.Allocate<T>(); } |