Skip to content

Commit f6d94cf

Browse files
author
Daniel Kroening
committed
clean out an unused method
1 parent 254f133 commit f6d94cf

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/goto-symex/goto_symex_state.cpp

-15
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,6 @@ goto_symex_statet::goto_symex_statet():
3434

3535
goto_symex_statet::~goto_symex_statet()=default;
3636

37-
void goto_symex_statet::initialize(const goto_functionst &goto_functions)
38-
{
39-
goto_functionst::function_mapt::const_iterator it=
40-
goto_functions.function_map.find(goto_functionst::entry_point());
41-
42-
if(it==goto_functions.function_map.end())
43-
throw "program has no entry point";
44-
45-
const goto_programt &body=it->second.body;
46-
47-
source=symex_targett::sourcet(body);
48-
top().end_of_function=--body.instructions.end();
49-
top().calling_location.pc=top().end_of_function;
50-
}
51-
5237
void goto_symex_statet::level0t::operator()(
5338
ssa_exprt &ssa_expr,
5439
const namespacet &ns,

src/goto-symex/goto_symex_state.h

-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ class goto_symex_statet final
4242
symex_targett::sourcet source;
4343
symex_targett *symex_target;
4444

45-
void initialize(const goto_functionst &goto_functions);
46-
4745
// we have a two-level renaming
4846

4947
typedef std::map<irep_idt, irep_idt> original_identifierst;

0 commit comments

Comments
 (0)