@@ -237,7 +237,6 @@ void remove_exceptionst::instrument_exception_handler(
237
237
t_null->code =code_assignt (
238
238
thrown_global_symbol,
239
239
null_voidptr);
240
- t_null->function =instr_it->function ;
241
240
242
241
// add the assignment exc = @inflight_exception (before the null assignment)
243
242
goto_programt::targett t_exc=goto_program.insert_after (instr_it);
@@ -246,7 +245,6 @@ void remove_exceptionst::instrument_exception_handler(
246
245
t_exc->code =code_assignt (
247
246
thrown_exception_local,
248
247
typecast_exprt (thrown_global_symbol, thrown_exception_local.type ()));
249
- t_exc->function =instr_it->function ;
250
248
}
251
249
instr_it->make_skip ();
252
250
}
@@ -352,7 +350,6 @@ void remove_exceptionst::add_exception_dispatch_sequence(
352
350
goto_programt::targett t_exc=goto_program.insert_after (instr_it);
353
351
t_exc->make_goto (new_state_pc);
354
352
t_exc->source_location =instr_it->source_location ;
355
- t_exc->function =instr_it->function ;
356
353
357
354
// use instanceof to check that this is the correct handler
358
355
struct_tag_typet type (stack_catch[i][j].first );
@@ -377,7 +374,6 @@ void remove_exceptionst::add_exception_dispatch_sequence(
377
374
378
375
default_dispatch->make_goto (default_target);
379
376
default_dispatch->source_location =instr_it->source_location ;
380
- default_dispatch->function =instr_it->function ;
381
377
382
378
// add dead instructions
383
379
for (const auto &local : locals)
@@ -386,7 +382,6 @@ void remove_exceptionst::add_exception_dispatch_sequence(
386
382
t_dead->make_dead ();
387
383
t_dead->code =code_deadt (local);
388
384
t_dead->source_location =instr_it->source_location ;
389
- t_dead->function =instr_it->function ;
390
385
}
391
386
}
392
387
@@ -466,7 +461,6 @@ bool remove_exceptionst::instrument_function_call(
466
461
goto_programt::targett t_null=goto_program.insert_after (instr_it);
467
462
t_null->make_goto (next_it);
468
463
t_null->source_location =instr_it->source_location ;
469
- t_null->function =instr_it->function ;
470
464
t_null->guard =no_exception_currently_in_flight;
471
465
}
472
466
0 commit comments