2929
3030void goto_convertt::do_prob_uniform (
3131 const exprt &lhs,
32- const exprt &function,
32+ const symbol_exprt &function,
3333 const exprt::operandst &arguments,
3434 goto_programt &dest)
3535{
36- const irep_idt &identifier=function.get (ID_identifier );
36+ const irep_idt &identifier=function.get_identifier ( );
3737
3838 // make it a side effect if there is an LHS
3939 if (arguments.size ()!=2 )
@@ -107,11 +107,11 @@ void goto_convertt::do_prob_uniform(
107107
108108void goto_convertt::do_prob_coin (
109109 const exprt &lhs,
110- const exprt &function,
110+ const symbol_exprt &function,
111111 const exprt::operandst &arguments,
112112 goto_programt &dest)
113113{
114- const irep_idt &identifier=function.get (ID_identifier );
114+ const irep_idt &identifier=function.get_identifier ( );
115115
116116 // make it a side effect if there is an LHS
117117 if (arguments.size ()!=2 )
@@ -184,11 +184,11 @@ void goto_convertt::do_prob_coin(
184184
185185void goto_convertt::do_printf (
186186 const exprt &lhs,
187- const exprt &function,
187+ const symbol_exprt &function,
188188 const exprt::operandst &arguments,
189189 goto_programt &dest)
190190{
191- const irep_idt &f_id=function.get (ID_identifier );
191+ const irep_idt &f_id=function.get_identifier ( );
192192
193193 if (f_id==CPROVER_PREFIX " printf" ||
194194 f_id==" printf" )
@@ -219,11 +219,11 @@ void goto_convertt::do_printf(
219219
220220void goto_convertt::do_scanf (
221221 const exprt &lhs,
222- const exprt &function,
222+ const symbol_exprt &function,
223223 const exprt::operandst &arguments,
224224 goto_programt &dest)
225225{
226- const irep_idt &f_id=function.get (ID_identifier );
226+ const irep_idt &f_id=function.get_identifier ( );
227227
228228 if (f_id==CPROVER_PREFIX " scanf" )
229229 {
@@ -364,7 +364,7 @@ void goto_convertt::do_output(
364364
365365void goto_convertt::do_atomic_begin (
366366 const exprt &lhs,
367- const exprt &function,
367+ const symbol_exprt &function,
368368 const exprt::operandst &arguments,
369369 goto_programt &dest)
370370{
@@ -388,7 +388,7 @@ void goto_convertt::do_atomic_begin(
388388
389389void goto_convertt::do_atomic_end (
390390 const exprt &lhs,
391- const exprt &function,
391+ const symbol_exprt &function,
392392 const exprt::operandst &arguments,
393393 goto_programt &dest)
394394{
@@ -597,7 +597,7 @@ exprt goto_convertt::get_array_argument(const exprt &src)
597597void goto_convertt::do_array_op (
598598 const irep_idt &id,
599599 const exprt &lhs,
600- const exprt &function,
600+ const symbol_exprt &function,
601601 const exprt::operandst &arguments,
602602 goto_programt &dest)
603603{
0 commit comments