22
22
// / function) and symbol table (to replace the _start function symbol) of the
23
23
// / program.
24
24
// / \param _message_handler: The message handler to report any messages with
25
- template <typename goto_modelt >
26
- rebuild_goto_start_function_baset<goto_modelt >::
25
+ template <typename maybe_lazy_goto_modelt >
26
+ rebuild_goto_start_function_baset<maybe_lazy_goto_modelt >::
27
27
rebuild_goto_start_function_baset (
28
28
const cmdlinet &cmdline,
29
- goto_modelt &goto_model,
29
+ maybe_lazy_goto_modelt &goto_model,
30
30
message_handlert &message_handler):
31
31
messaget(message_handler),
32
32
cmdline(cmdline),
@@ -42,8 +42,8 @@ rebuild_goto_start_function_baset(
42
42
// / called from _start
43
43
// / \return Returns true if either the symbol is not found, or something went
44
44
// / wrong with generating the start_function. False otherwise.
45
- template <typename goto_modelt >
46
- bool rebuild_goto_start_function_baset<goto_modelt >::operator ()()
45
+ template <typename maybe_lazy_goto_modelt >
46
+ bool rebuild_goto_start_function_baset<maybe_lazy_goto_modelt >::operator ()()
47
47
{
48
48
const irep_idt &mode=get_entry_point_mode ();
49
49
@@ -70,9 +70,9 @@ bool rebuild_goto_start_function_baset<goto_modelt>::operator()()
70
70
// / Find out the mode of the current entry point to determine the mode of the
71
71
// / replacement entry point
72
72
// / \return A mode string saying which language to use
73
- template <typename goto_modelt >
74
- irep_idt
75
- rebuild_goto_start_function_baset<goto_modelt>:: get_entry_point_mode() const
73
+ template <typename maybe_lazy_goto_modelt >
74
+ irep_idt rebuild_goto_start_function_baset<maybe_lazy_goto_modelt>::
75
+ get_entry_point_mode () const
76
76
{
77
77
const symbolt ¤t_entry_point=
78
78
*goto_model.symbol_table .lookup (goto_functionst::entry_point ());
@@ -81,9 +81,9 @@ rebuild_goto_start_function_baset<goto_modelt>::get_entry_point_mode() const
81
81
82
82
// / Eliminate the existing entry point function symbol and any symbols created
83
83
// / in that scope from the symbol table.
84
- template <typename goto_modelt >
85
- void
86
- rebuild_goto_start_function_baset<goto_modelt>:: remove_existing_entry_point()
84
+ template <typename maybe_lazy_goto_modelt >
85
+ void rebuild_goto_start_function_baset<maybe_lazy_goto_modelt>::
86
+ remove_existing_entry_point ()
87
87
{
88
88
// Remove the function itself
89
89
goto_model.symbol_table .remove (goto_functionst::entry_point ());
0 commit comments