Index: src/IceCfg.h |
diff --git a/src/IceCfg.h b/src/IceCfg.h |
index f6f330909e064a7c6837871fbd0c0d2b624bca27..f9682e08bb256a300159b9d8ab9e3c72af9954dd 100644 |
--- a/src/IceCfg.h |
+++ b/src/IceCfg.h |
@@ -226,9 +226,11 @@ public: |
const CfgNode *getCurrentNode() const { return CurrentNode; } |
/// @} |
- /// Get the total amount of memory held by the per-Cfg allocator. This is |
- /// mostly meant for use inside a debugger. |
- static size_t getTotalMemoryMB(); |
+ /// Get the total amount of memory held by the per-Cfg allocator. |
+ size_t getTotalMemoryMB() const; |
+ |
+ /// Get the current memory usage due to liveness data structures. |
+ size_t getLivenessMemoryMB() const; |
void emit(); |
void emitIAS(); |