File tree Expand file tree Collapse file tree 2 files changed +25
-8
lines changed Expand file tree Collapse file tree 2 files changed +25
-8
lines changed Original file line number Diff line number Diff line change
1
+ /* ******************************************************************\
2
+
3
+ Module: bv_encoding configuration
4
+
5
+ Author: Diffblue Ltd
6
+
7
+ \*******************************************************************/
8
+
9
+ #ifndef CPROVER_UTIL_BV_ENCODING_H
10
+ #define CPROVER_UTIL_BV_ENCODING_H
11
+
12
+ #include < cstddef>
13
+
14
+ struct bv_encodingt
15
+ {
16
+ // number of bits to encode heap object addresses
17
+ std::size_t object_bits;
18
+ bool is_object_bits_default;
19
+
20
+ static const std::size_t default_object_bits = 8 ;
21
+ };
22
+
23
+ #endif // CPROVER_UTIL_BV_ENCODING_H
Original file line number Diff line number Diff line change 12
12
13
13
#include < list>
14
14
15
+ #include " bv_encoding.h"
15
16
#include " ieee_float.h"
16
17
#include " irep.h"
17
18
#include " optional.h"
@@ -170,14 +171,7 @@ class configt
170
171
static const std::size_t default_object_bits=16 ;
171
172
} java;
172
173
173
- struct bv_encodingt
174
- {
175
- // number of bits to encode heap object addresses
176
- std::size_t object_bits;
177
- bool is_object_bits_default;
178
-
179
- static const std::size_t default_object_bits=8 ;
180
- } bv_encoding;
174
+ bv_encodingt bv_encoding;
181
175
182
176
// this is the function to start executing
183
177
optionalt<std::string> main;
You can’t perform that action at this time.
0 commit comments