@@ -120,7 +120,6 @@ class java_object_factoryt
120120 void gen_nondet_pointer_init (
121121 code_blockt &assignments,
122122 const exprt &expr,
123- const irep_idt &class_identifier,
124123 allocation_typet alloc_type,
125124 const pointer_typet &pointer_type,
126125 size_t depth,
@@ -709,9 +708,6 @@ static bool add_nondet_string_pointer_initialization(
709708// / The code block we are building with initialization code.
710709// / \param expr:
711710// / Pointer-typed lvalue expression to initialize.
712- // / \param class_identifier:
713- // / Name of the parent class. Used to initialize the `@class_identifier` among
714- // / others.
715711// / \param alloc_type:
716712// / Allocation type (global, local or dynamic)
717713// / \param depth:
@@ -727,7 +723,6 @@ static bool add_nondet_string_pointer_initialization(
727723void java_object_factoryt::gen_nondet_pointer_init (
728724 code_blockt &assignments,
729725 const exprt &expr,
730- const irep_idt &class_identifier,
731726 allocation_typet alloc_type,
732727 const pointer_typet &pointer_type,
733728 size_t depth,
@@ -736,7 +731,7 @@ void java_object_factoryt::gen_nondet_pointer_init(
736731 PRECONDITION (expr.type ().id ()==ID_pointer);
737732 const pointer_typet &replacement_pointer_type =
738733 pointer_type_selector.convert_pointer_type (
739- pointer_type, generic_parameter_specialization_map, ns );
734+ pointer_type, generic_parameter_specialization_map);
740735
741736 // If we are changing the pointer, we generate code for creating a pointer
742737 // to the substituted type instead
@@ -1189,7 +1184,6 @@ void java_object_factoryt::gen_nondet_init(
11891184 gen_nondet_pointer_init (
11901185 assignments,
11911186 expr,
1192- class_identifier,
11931187 alloc_type,
11941188 pointer_type,
11951189 depth,
0 commit comments