@@ -181,7 +181,7 @@ void symex_target_equationt::location(
181181void symex_target_equationt::function_call (
182182 const exprt &guard,
183183 const irep_idt &function_id,
184- const std::vector<renamedt< exprt, L2> > &function_arguments,
184+ const std::vector<exprt> &function_arguments,
185185 const sourcet &source,
186186 const bool hidden)
187187{
@@ -190,8 +190,7 @@ void symex_target_equationt::function_call(
190190
191191 SSA_step.guard = guard;
192192 SSA_step.called_function = function_id;
193- for (const auto &arg : function_arguments)
194- SSA_step.ssa_function_arguments .emplace_back (arg.get ());
193+ SSA_step.ssa_function_arguments = function_arguments;
195194 SSA_step.hidden = hidden;
196195
197196 merge_ireps (SSA_step);
@@ -217,14 +216,13 @@ void symex_target_equationt::output(
217216 const exprt &guard,
218217 const sourcet &source,
219218 const irep_idt &output_id,
220- const std::list<renamedt< exprt, L2> > &args)
219+ const std::list<exprt> &args)
221220{
222221 SSA_steps.emplace_back (source, goto_trace_stept::typet::OUTPUT);
223222 SSA_stept &SSA_step=SSA_steps.back ();
224223
225224 SSA_step.guard =guard;
226- for (const auto &arg : args)
227- SSA_step.io_args .emplace_back (arg.get ());
225+ SSA_step.io_args = args;
228226 SSA_step.io_id =output_id;
229227
230228 merge_ireps (SSA_step);
@@ -299,14 +297,14 @@ void symex_target_equationt::assertion(
299297
300298void symex_target_equationt::goto_instruction (
301299 const exprt &guard,
302- const renamedt< exprt, L2> &cond,
300+ const exprt &cond,
303301 const sourcet &source)
304302{
305303 SSA_steps.emplace_back (source, goto_trace_stept::typet::GOTO);
306304 SSA_stept &SSA_step=SSA_steps.back ();
307305
308306 SSA_step.guard =guard;
309- SSA_step.cond_expr = cond. get () ;
307+ SSA_step.cond_expr = cond;
310308
311309 merge_ireps (SSA_step);
312310}
0 commit comments