29
29
30
30
void goto_convertt::do_prob_uniform (
31
31
const exprt &lhs,
32
- const exprt &function,
32
+ const symbol_exprt &function,
33
33
const exprt::operandst &arguments,
34
34
goto_programt &dest)
35
35
{
36
- const irep_idt &identifier=function.get (ID_identifier );
36
+ const irep_idt &identifier=function.get_identifier ( );
37
37
38
38
// make it a side effect if there is an LHS
39
39
if (arguments.size ()!=2 )
@@ -107,11 +107,11 @@ void goto_convertt::do_prob_uniform(
107
107
108
108
void goto_convertt::do_prob_coin (
109
109
const exprt &lhs,
110
- const exprt &function,
110
+ const symbol_exprt &function,
111
111
const exprt::operandst &arguments,
112
112
goto_programt &dest)
113
113
{
114
- const irep_idt &identifier=function.get (ID_identifier );
114
+ const irep_idt &identifier=function.get_identifier ( );
115
115
116
116
// make it a side effect if there is an LHS
117
117
if (arguments.size ()!=2 )
@@ -184,11 +184,11 @@ void goto_convertt::do_prob_coin(
184
184
185
185
void goto_convertt::do_printf (
186
186
const exprt &lhs,
187
- const exprt &function,
187
+ const symbol_exprt &function,
188
188
const exprt::operandst &arguments,
189
189
goto_programt &dest)
190
190
{
191
- const irep_idt &f_id=function.get (ID_identifier );
191
+ const irep_idt &f_id=function.get_identifier ( );
192
192
193
193
if (f_id==CPROVER_PREFIX " printf" ||
194
194
f_id==" printf" )
@@ -219,11 +219,11 @@ void goto_convertt::do_printf(
219
219
220
220
void goto_convertt::do_scanf (
221
221
const exprt &lhs,
222
- const exprt &function,
222
+ const symbol_exprt &function,
223
223
const exprt::operandst &arguments,
224
224
goto_programt &dest)
225
225
{
226
- const irep_idt &f_id=function.get (ID_identifier );
226
+ const irep_idt &f_id=function.get_identifier ( );
227
227
228
228
if (f_id==CPROVER_PREFIX " scanf" )
229
229
{
@@ -364,7 +364,7 @@ void goto_convertt::do_output(
364
364
365
365
void goto_convertt::do_atomic_begin (
366
366
const exprt &lhs,
367
- const exprt &function,
367
+ const symbol_exprt &function,
368
368
const exprt::operandst &arguments,
369
369
goto_programt &dest)
370
370
{
@@ -388,7 +388,7 @@ void goto_convertt::do_atomic_begin(
388
388
389
389
void goto_convertt::do_atomic_end (
390
390
const exprt &lhs,
391
- const exprt &function,
391
+ const symbol_exprt &function,
392
392
const exprt::operandst &arguments,
393
393
goto_programt &dest)
394
394
{
@@ -597,7 +597,7 @@ exprt goto_convertt::get_array_argument(const exprt &src)
597
597
void goto_convertt::do_array_op (
598
598
const irep_idt &id,
599
599
const exprt &lhs,
600
- const exprt &function,
600
+ const symbol_exprt &function,
601
601
const exprt::operandst &arguments,
602
602
goto_programt &dest)
603
603
{
0 commit comments