Skip to content

Commit f3926c4

Browse files
author
Daniel Kroening
committed
make_next_state
1 parent 60a84a9 commit f3926c4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/ebmc/ebmc_base.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,27 @@ Author: Daniel Kroening, [email protected]
3939

4040
/*******************************************************************\
4141
42+
Function: make_next_state
43+
44+
Inputs:
45+
46+
Outputs:
47+
48+
Purpose:
49+
50+
\*******************************************************************/
51+
52+
void make_next_state(exprt &expr)
53+
{
54+
Forall_operands(it, expr)
55+
make_next_state(*it);
56+
57+
if(expr.id()==ID_symbol)
58+
expr.id(ID_next_symbol);
59+
}
60+
61+
/*******************************************************************\
62+
4263
Function: ebmc_baset::ebmc_baset
4364
4465
Inputs:

0 commit comments

Comments
 (0)