Skip to content

Commit 35f348c

Browse files
authored
Merge pull request diffblue#7735 from tautschnig/bugfixes/smt-hashing
SMT2 incremental back-end: don't use irep_full_hash
2 parents d5e13f1 + 9a69592 commit 35f348c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/solvers/smt2_incremental/convert_expr_to_smt.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
/// * avoiding the deeply nested call stacks associated with recursion.
3535
/// * supporting wider scope for the conversion of specific types of `exprt`,
3636
/// without inflating the parameter list / scope for all conversions.
37-
using sub_expression_mapt =
38-
std::unordered_map<exprt, smt_termt, irep_full_hash>;
37+
using sub_expression_mapt = std::unordered_map<exprt, smt_termt, irep_hash>;
3938

4039
/// \brief Converts operator expressions with 2 or more operands to terms
4140
/// expressed as binary operator application.

src/solvers/smt2_incremental/type_size_mapping.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <unordered_map> // IWYU pragma: keep
1717

18-
using type_size_mapt = std::unordered_map<typet, smt_termt, irep_full_hash>;
18+
using type_size_mapt = std::unordered_map<typet, smt_termt, irep_hash>;
1919

2020
/// This function populates the (pointer) type -> size map.
2121
/// \param expression: the expression we're building the map for.

0 commit comments

Comments
 (0)