File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -125,18 +125,17 @@ void java_static_lifetime_init(
125
125
if (allow_null && is_non_null_library_global (nameid))
126
126
allow_null=false ;
127
127
}
128
- auto newsym=object_factory (
129
- sym.type ,
130
- symname,
128
+ gen_nondet_init (
129
+ sym.symbol_expr (),
131
130
code_block,
132
- allow_null,
133
131
symbol_table,
134
- object_factory_parameters,
135
- allocation_typet::GLOBAL,
136
132
source_location,
137
- pointer_type_selector);
138
- code_assignt assignment (sym.symbol_expr (), newsym);
139
- code_block.add (assignment);
133
+ false ,
134
+ allocation_typet::GLOBAL,
135
+ allow_null,
136
+ object_factory_parameters,
137
+ pointer_type_selector,
138
+ update_in_placet::NO_UPDATE_IN_PLACE);
140
139
}
141
140
else if (sym.value .is_not_nil ())
142
141
{
You can’t perform that action at this time.
0 commit comments