File tree Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -238,19 +238,6 @@ class goto_symext
238
238
239
239
const irep_idt guard_identifier;
240
240
241
- // symex
242
- virtual void symex_transition (
243
- statet &,
244
- goto_programt::const_targett to,
245
- bool is_backwards_goto);
246
-
247
- virtual void symex_transition (statet &state)
248
- {
249
- goto_programt::const_targett next=state.source .pc ;
250
- ++next;
251
- symex_transition (state, next, false );
252
- }
253
-
254
241
virtual void symex_goto (statet &);
255
242
virtual void symex_start_thread (statet &);
256
243
virtual void symex_atomic_begin (statet &);
@@ -465,4 +452,11 @@ class goto_symext
465
452
}
466
453
};
467
454
455
+ void symex_transition (goto_symext::statet &state);
456
+
457
+ void symex_transition (
458
+ goto_symext::statet &,
459
+ goto_programt::const_targett to,
460
+ bool is_backwards_goto);
461
+
468
462
#endif // CPROVER_GOTO_SYMEX_GOTO_SYMEX_H
Original file line number Diff line number Diff line change 22
22
23
23
#include < analyses/dirty.h>
24
24
25
- void goto_symext:: symex_transition (
26
- statet &state,
25
+ void symex_transition (
26
+ goto_symext:: statet &state,
27
27
goto_programt::const_targett to,
28
28
bool is_backwards_goto)
29
29
{
@@ -34,7 +34,7 @@ void goto_symext::symex_transition(
34
34
// 1. the transition from state.source.pc to "to" is not a backwards goto
35
35
// or
36
36
// 2. we are arriving from an outer loop
37
- statet::framet &frame= state.top ();
37
+ goto_symext:: statet::framet &frame = state.top ();
38
38
const goto_programt::instructiont &instruction=*to;
39
39
for (const auto &i_e : instruction.incoming_edges )
40
40
if (i_e->is_goto () && i_e->is_backwards_goto () &&
@@ -46,6 +46,13 @@ void goto_symext::symex_transition(
46
46
state.source .pc =to;
47
47
}
48
48
49
+ void symex_transition (goto_symext::statet &state)
50
+ {
51
+ goto_programt::const_targett next = state.source .pc ;
52
+ ++next;
53
+ symex_transition (state, next, false );
54
+ }
55
+
49
56
void goto_symext::vcc (
50
57
const exprt &vcc_expr,
51
58
const std::string &msg,
You can’t perform that action at this time.
0 commit comments