Skip to content

Commit e6cd488

Browse files
committed
Remove unused goto_symext::new_name
1 parent c24b820 commit e6cd488

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/goto-symex/goto_symex.h

-2
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ class goto_symext
232232

233233
friend class symex_dereference_statet;
234234

235-
void new_name(symbolt &symbol, statet &state);
236-
237235
// this does the following:
238236
// a) rename non-det choices
239237
// b) remove pointer dereferencing

src/goto-symex/symex_main.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Author: Daniel Kroening, [email protected]
1515
#include <memory>
1616

1717
#include <util/std_expr.h>
18-
#include <util/rename.h>
1918
#include <util/symbol_table.h>
2019
#include <util/replace_symbol.h>
2120
#include <util/make_unique.h>
@@ -46,12 +45,6 @@ void goto_symext::symex_transition(
4645
state.source.pc=to;
4746
}
4847

49-
void goto_symext::new_name(symbolt &symbol, statet &state)
50-
{
51-
get_new_name(symbol, ns);
52-
state.symbol_table.add(symbol);
53-
}
54-
5548
void goto_symext::vcc(
5649
const exprt &vcc_expr,
5750
const std::string &msg,

0 commit comments

Comments
 (0)