diff options
author | Tim King <taking@cs.nyu.edu> | 2012-04-02 20:56:55 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-04-02 20:56:55 +0000 |
commit | 1a558a30bec496444742ed75c0a6973d9789daf7 (patch) | |
tree | 81d5f4aedc3a320c4b95945c71a1e3cf0d8e88af /src/util | |
parent | f9d3552033d8214c833b58ed54d99c836de4ce37 (diff) |
- Merged in the branch cdlist-cleanup.
- This adds a CleanUp template argument to CDList.
- CDChunkList<T> replaces the CDList specialization for ContextMemoryAllocator.
- CDVector<T> has been simplified and improved.
- The expected performance impact is negligible.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/congruence_closure.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/congruence_closure.h b/src/util/congruence_closure.h index ed1cecd7b..d7b8b0a22 100644 --- a/src/util/congruence_closure.h +++ b/src/util/congruence_closure.h @@ -32,7 +32,7 @@ #include "context/cdo.h" #include "context/cdhashmap.h" #include "context/cdhashset.h" -#include "context/cdlist_context_memory.h" +#include "context/cdchunk_list.h" #include "util/exception.h" #include "context/stacking_map.h" #include "util/stats.h" @@ -140,9 +140,9 @@ class CongruenceClosure { // typedef all of these so that iterators are easy to define typedef context::StackingMap<Node, Node, NodeHashFunction> RepresentativeMap; - typedef context::CDList<TNode, context::ContextMemoryAllocator<TNode> > ClassList; + typedef context::CDChunkList<TNode> ClassList; typedef context::CDHashMap<Node, ClassList*, NodeHashFunction> ClassLists; - typedef context::CDList<TNode, context::ContextMemoryAllocator<TNode> > UseList; + typedef context::CDChunkList<TNode> UseList; typedef context::CDHashMap<TNode, UseList*, TNodeHashFunction> UseLists; typedef context::CDHashMap<Node, Node, NodeHashFunction> LookupMap; |