File tree 4 files changed +13
-13
lines changed
4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ compilet::~compilet()
662
662
delete_directory (*it);
663
663
}
664
664
665
- unsigned compilet::function_body_count (const goto_functionst &functions)
665
+ unsigned compilet::function_body_count (const goto_functionst &functions) const
666
666
{
667
667
int fbs=0 ;
668
668
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class compilet:public language_uit
94
94
cmdlinet &cmdline;
95
95
bool warning_is_fatal;
96
96
97
- unsigned function_body_count (const goto_functionst &);
97
+ unsigned function_body_count (const goto_functionst &) const ;
98
98
99
99
void add_compiler_specific_defines (class configt &config) const ;
100
100
Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ int linker_script_merget::add_linker_script_definitions()
114
114
115
115
linker_script_merget::linker_script_merget (
116
116
compilet &compiler,
117
- std::list<std::string> &elf_binaries,
118
- std::list<std::string> &goto_binaries,
119
- cmdlinet &cmdline,
117
+ const std::list<std::string> &elf_binaries,
118
+ const std::list<std::string> &goto_binaries,
119
+ const cmdlinet &cmdline,
120
120
message_handlert &message_handler) :
121
121
messaget(message_handler), compiler(compiler),
122
122
elf_binaries(elf_binaries), goto_binaries(goto_binaries),
Original file line number Diff line number Diff line change @@ -82,17 +82,17 @@ class linker_script_merget:public messaget
82
82
typedef std::map<irep_idt, std::pair<symbol_exprt, exprt>> linker_valuest;
83
83
84
84
linker_script_merget (
85
- compilet &compiler ,
86
- std::list<std::string> &elf_binaries,
87
- std::list<std::string> &goto_binaries,
88
- cmdlinet &cmdline ,
89
- message_handlert &message_handler );
85
+ compilet &,
86
+ const std::list<std::string> &elf_binaries,
87
+ const std::list<std::string> &goto_binaries,
88
+ const cmdlinet &,
89
+ message_handlert &);
90
90
91
91
protected:
92
92
compilet &compiler;
93
- std::list<std::string> &elf_binaries;
94
- std::list<std::string> &goto_binaries;
95
- cmdlinet &cmdline;
93
+ const std::list<std::string> &elf_binaries;
94
+ const std::list<std::string> &goto_binaries;
95
+ const cmdlinet &cmdline;
96
96
97
97
// / \brief The "shapes" of expressions to be replaced by a pointer
98
98
// /
You can’t perform that action at this time.
0 commit comments