mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 08:42:15 +00:00
safe sat clause_offset in debug mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b2383a481a
commit
e132c5eae8
2 changed files with 18 additions and 5 deletions
|
@ -132,9 +132,11 @@ namespace sat {
|
|||
static const size_t c_aligment_mask = (1ull << c_cls_alignment) - 1ull;
|
||||
unsigned m_num_segments;
|
||||
size_t m_segments[c_max_segments];
|
||||
#if defined(Z3DEBUG)
|
||||
bool m_overflow_valid;
|
||||
size_t_map<unsigned> m_ptr2cls_offset;
|
||||
u_map<clause const*> m_cls_offset2ptr;
|
||||
#endif
|
||||
#endif
|
||||
public:
|
||||
clause_allocator();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue