summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumant Kowshik <kowshik@uiuc.edu>2003-08-07 04:37:52 +0000
committerSumant Kowshik <kowshik@uiuc.edu>2003-08-07 04:37:52 +0000
commitedea6d646b1149d121d897c7599bd5daf5590f02 (patch)
tree79a613130e3bc6884d73a5b08923028e9dc75e47
parent3314d8d6562cb293827bd4db23c5a927c40ef4aa (diff)
downloadllvm-edea6d646b1149d121d897c7599bd5daf5590f02.tar.gz
llvm-edea6d646b1149d121d897c7599bd5daf5590f02.tar.bz2
llvm-edea6d646b1149d121d897c7599bd5daf5590f02.tar.xz
Added a flag which is set when all data structures are not pool allocated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7660 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/PoolAllocate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Transforms/PoolAllocate.h b/include/llvm/Transforms/PoolAllocate.h
index 80afa7bfe0..b6806c12a1 100644
--- a/include/llvm/Transforms/PoolAllocate.h
+++ b/include/llvm/Transforms/PoolAllocate.h
@@ -100,6 +100,11 @@ class PoolAllocate : public Pass {
// If an equivalence class does not require pool arguments, it is not
// on this map.
std::map<Function *, int> EqClass2LastPoolArg;
+
+ // Exception flags
+ // CollapseFlag set if all data structures are not pool allocated, due to
+ // collapsing of nodes in the DS graph
+ unsigned CollapseFlag;
public:
bool run(Module &M);