@@ -234,7 +234,7 @@ void remove_exceptionst::instrument_exception_handler(
234234 {
235235 // retrieve the exception variable
236236 const exprt &thrown_exception_local =
237- to_code_landingpad (instr_it->get_code ()).catch_expr ();
237+ to_code_landingpad (instr_it->code ()).catch_expr ();
238238
239239 const symbol_exprt thrown_global_symbol=
240240 get_inflight_exception_global ();
@@ -407,7 +407,7 @@ bool remove_exceptionst::instrument_throw(
407407 PRECONDITION (instr_it->type () == THROW);
408408
409409 const exprt &exc_expr =
410- uncaught_exceptions_domaint::get_exception_symbol (instr_it->get_code ());
410+ uncaught_exceptions_domaint::get_exception_symbol (instr_it->code ());
411411
412412 add_exception_dispatch_sequence (
413413 function_identifier, goto_program, instr_it, stack_catch, locals);
@@ -512,7 +512,7 @@ void remove_exceptionst::instrument_exceptions(
512512 // Is it a handler push/pop or catch landing-pad?
513513 else if (instr_it->type () == CATCH)
514514 {
515- const irep_idt &statement = instr_it->get_code ().get_statement ();
515+ const irep_idt &statement = instr_it->code ().get_statement ();
516516 // Is it an exception landing pad (start of a catch block)?
517517 if (statement==ID_exception_landingpad)
518518 {
@@ -553,7 +553,7 @@ void remove_exceptionst::instrument_exceptions(
553553
554554 // copy targets
555555 const code_push_catcht::exception_listt &exception_list =
556- to_code_push_catch (instr_it->get_code ()).exception_list ();
556+ to_code_push_catch (instr_it->code ()).exception_list ();
557557
558558 // The target list can be empty if `finish_catch_push_targets` found that
559559 // the targets were unreachable (in which case no exception can truly
0 commit comments