@@ -186,7 +186,10 @@ gen_clinit_eqexpr(const exprt &expr, const clinit_statest state)
186
186
static void clinit_wrapper_do_recursive_calls (
187
187
const symbol_tablet &symbol_table,
188
188
const irep_idt &class_name,
189
- code_blockt &init_body)
189
+ code_blockt &init_body,
190
+ const bool nondet_static,
191
+ const object_factory_parameterst &object_factory_parameters,
192
+ const select_pointer_typet &pointer_type_selector)
190
193
{
191
194
const symbolt &class_symbol = symbol_table.lookup_ref (class_name);
192
195
for (const auto &base : to_class_type (class_symbol.type ).bases ())
@@ -384,7 +387,10 @@ static void create_clinit_wrapper_symbols(
384
387
// / \return the body of the static initialiser wrapper
385
388
codet get_thread_safe_clinit_wrapper_body (
386
389
const irep_idt &function_id,
387
- symbol_table_baset &symbol_table)
390
+ symbol_table_baset &symbol_table,
391
+ const bool nondet_static,
392
+ const object_factory_parameterst &object_factory_parameters,
393
+ const select_pointer_typet &pointer_type_selector)
388
394
{
389
395
const symbolt &wrapper_method_symbol = symbol_table.lookup_ref (function_id);
390
396
irep_idt class_name = wrapper_method_symbol.type .get (ID_C_class);
@@ -535,7 +541,13 @@ codet get_thread_safe_clinit_wrapper_body(
535
541
//
536
542
{
537
543
code_blockt init_body;
538
- clinit_wrapper_do_recursive_calls (symbol_table, class_name, init_body);
544
+ clinit_wrapper_do_recursive_calls (
545
+ symbol_table,
546
+ class_name,
547
+ init_body,
548
+ nondet_static,
549
+ object_factory_parameters,
550
+ pointer_type_selector);
539
551
function_body.append (init_body);
540
552
}
541
553
@@ -564,7 +576,10 @@ codet get_thread_safe_clinit_wrapper_body(
564
576
// / \return the body of the static initialiser wrapper/
565
577
codet get_clinit_wrapper_body (
566
578
const irep_idt &function_id,
567
- symbol_table_baset &symbol_table)
579
+ symbol_table_baset &symbol_table,
580
+ const bool nondet_static,
581
+ const object_factory_parameterst &object_factory_parameters,
582
+ const select_pointer_typet &pointer_type_selector)
568
583
{
569
584
// Assume that class C extends class C' and implements interfaces
570
585
// I1, ..., In. We now create the following function (possibly recursively
@@ -608,7 +623,13 @@ codet get_clinit_wrapper_body(
608
623
code_assignt set_already_run (already_run_symbol.symbol_expr (), true_exprt ());
609
624
init_body.move_to_operands (set_already_run);
610
625
611
- clinit_wrapper_do_recursive_calls (symbol_table, class_name, init_body);
626
+ clinit_wrapper_do_recursive_calls (
627
+ symbol_table,
628
+ class_name,
629
+ init_body,
630
+ nondet_static,
631
+ object_factory_parameters,
632
+ pointer_type_selector);
612
633
613
634
wrapper_body.then_case () = init_body;
614
635
0 commit comments