@@ -121,26 +121,31 @@ class _rw_set_loct:public rw_set_baset
121
121
_rw_set_loct (
122
122
const namespacet &_ns,
123
123
value_setst &_value_sets,
124
+ const irep_idt &_function_id,
124
125
goto_programt::const_targett _target,
125
- local_may_aliast &may):
126
- rw_set_baset(_ns),
127
- value_sets(_value_sets),
128
- target(_target),
129
- local_may(may)
126
+ local_may_aliast &may)
127
+ : rw_set_baset(_ns),
128
+ value_sets(_value_sets),
129
+ function_id(_function_id),
130
+ target(_target),
131
+ local_may(may)
130
132
#else
131
133
_rw_set_loct (
132
134
const namespacet &_ns,
133
135
value_setst &_value_sets,
134
- goto_programt::const_targett _target):
135
- rw_set_baset(_ns),
136
- value_sets(_value_sets),
137
- target(_target)
136
+ const irep_idt &_function_id,
137
+ goto_programt::const_targett _target)
138
+ : rw_set_baset(_ns),
139
+ value_sets(_value_sets),
140
+ function_id(_function_id),
141
+ target(_target)
138
142
#endif
139
143
{
140
144
}
141
145
142
146
protected:
143
147
value_setst &value_sets;
148
+ const irep_idt function_id;
144
149
const goto_programt::const_targett target;
145
150
146
151
#ifdef LOCAL_MAY
@@ -180,15 +185,17 @@ class rw_set_loct:public _rw_set_loct
180
185
rw_set_loct (
181
186
const namespacet &_ns,
182
187
value_setst &_value_sets,
188
+ const irep_idt &_function_id,
183
189
goto_programt::const_targett _target,
184
- local_may_aliast &may):
185
- _rw_set_loct(_ns, _value_sets, _target, may)
190
+ local_may_aliast &may)
191
+ : _rw_set_loct(_ns, _value_sets, _function_id , _target, may)
186
192
#else
187
193
rw_set_loct (
188
194
const namespacet &_ns,
189
195
value_setst &_value_sets,
190
- goto_programt::const_targett _target):
191
- _rw_set_loct(_ns, _value_sets, _target)
196
+ const irep_idt &_function_id,
197
+ goto_programt::const_targett _target)
198
+ : _rw_set_loct(_ns, _value_sets, _function_id, _target)
192
199
#endif
193
200
{
194
201
compute ();
@@ -239,17 +246,19 @@ class rw_set_with_trackt:public _rw_set_loct
239
246
rw_set_with_trackt (
240
247
const namespacet &_ns,
241
248
value_setst &_value_sets,
249
+ const irep_idt &_function_id,
242
250
goto_programt::const_targett _target,
243
- local_may_aliast &may):
244
- _rw_set_loct(_ns, _value_sets, _target, may),
245
- dereferencing(false )
251
+ local_may_aliast &may)
252
+ : _rw_set_loct(_ns, _value_sets, _function_id , _target, may),
253
+ dereferencing(false )
246
254
#else
247
255
rw_set_with_trackt (
248
256
const namespacet &_ns,
249
257
value_setst &_value_sets,
250
- goto_programt::const_targett _target):
251
- _rw_set_loct(_ns, _value_sets, _target),
252
- dereferencing(false )
258
+ const irep_idt &_function_id,
259
+ goto_programt::const_targett _target)
260
+ : _rw_set_loct(_ns, _value_sets, _function_id, _target),
261
+ dereferencing(false )
253
262
#endif
254
263
{
255
264
compute ();
0 commit comments