File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ Author: Daniel Kroening, kroening@kroening.com
16
16
#include < util/std_expr.h>
17
17
#include < util/byte_operators.h>
18
18
19
+ #ifndef HASH_CODE
20
+ #include < util/irep_hash_container.h>
21
+ #endif
22
+
19
23
#include < solvers/prop/prop_conv.h>
20
24
#include < solvers/flattening/boolbv_width.h>
21
25
#include < solvers/flattening/pointer_logic.h>
@@ -181,7 +185,12 @@ class smt2_convt:public prop_convt
181
185
symbol_exprt let_symbol;
182
186
};
183
187
188
+ #ifdef HASH_CODE
184
189
typedef std::unordered_map<exprt, let_count_idt, irep_hash> seen_expressionst;
190
+ #else
191
+ typedef irep_hash_mapt<exprt, let_count_idt> seen_expressionst;
192
+ #endif
193
+
185
194
std::size_t let_id_count;
186
195
static const std::size_t LET_COUNT = 2 ;
187
196
You can’t perform that action at this time.
0 commit comments