File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1072,9 +1072,9 @@ void java_object_factoryt::gen_nondet_struct_init(
1072
1072
{
1073
1073
continue ;
1074
1074
}
1075
- else if (name == " monitorCount " )
1075
+ else if (name == " cproverMonitorCount " )
1076
1076
{
1077
- // Zero-initialize 'monitorCount ' field as it is not meant to be nondet.
1077
+ // Zero-initialize 'cproverMonitorCount ' field as it is not meant to be nondet.
1078
1078
// This field is only present when the java core models are embedded. It
1079
1079
// is used to implement a critical section, which is necessary to support
1080
1080
// concurrency.
Original file line number Diff line number Diff line change @@ -52,13 +52,14 @@ void java_root_class_init(
52
52
constant_exprt clsid (class_identifier, clsid_type);
53
53
jlo.operands ()[clsid_nb]=clsid;
54
54
55
- // Check if the 'monitorCount ' component exists and initialize it.
55
+ // Check if the 'cproverMonitorCount ' component exists and initialize it.
56
56
// This field is only present when the java core models are embedded. It is
57
57
// used to implement a critical section, which is necessary to support
58
58
// concurrency.
59
- if (root_type.has_component (" monitorCount " ))
59
+ if (root_type.has_component (" cproverMonitorCount " ))
60
60
{
61
- const std::size_t count_nb = root_type.component_number (" monitorCount" );
61
+ const std::size_t count_nb =
62
+ root_type.component_number (" cproverMonitorCount" );
62
63
const typet &count_type = root_type.components ()[count_nb].type ();
63
64
jlo.operands ()[count_nb] = from_integer (0 , count_type);
64
65
}
You can’t perform that action at this time.
0 commit comments