Skip to content

Commit 40fe0f8

Browse files
author
Daniel Kroening
committed
simplify API of goto_convert
1 parent c125146 commit 40fe0f8

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/goto-programs/goto_convert_functions.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,6 @@ void goto_convert_functionst::convert_function(const irep_idt &identifier)
221221
f.make_hidden();
222222
}
223223

224-
void goto_convert(
225-
symbol_tablet &symbol_table,
226-
goto_modelt &goto_model,
227-
message_handlert &message_handler)
228-
{
229-
goto_convert(symbol_table, goto_model.goto_functions, message_handler);
230-
goto_model.symbol_table.swap(symbol_table);
231-
}
232-
233224
void goto_convert(
234225
goto_modelt &goto_model,
235226
message_handlert &message_handler)

src/goto-programs/goto_convert_functions.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ void goto_convert(
2323
goto_functionst &functions,
2424
message_handlert &);
2525

26-
// confusing, will go away
27-
void goto_convert(
28-
symbol_tablet &symbol_table,
29-
goto_modelt &dest,
30-
message_handlert &);
31-
3226
// convert it all!
3327
void goto_convert(
3428
goto_modelt &,

0 commit comments

Comments
 (0)