File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1426,7 +1426,7 @@ void java_object_factoryt::gen_nondet_array_init(
1426
1426
1427
1427
if (element_type.id () == ID_pointer || element_type.id () == ID_c_bool)
1428
1428
{
1429
- // For arrays of non-primitive types , nondeterministically initialize each
1429
+ // For arrays of non-primitive type , nondeterministically initialize each
1430
1430
// element of the array
1431
1431
array_loop_init_code (
1432
1432
assignments,
@@ -1440,10 +1440,10 @@ void java_object_factoryt::gen_nondet_array_init(
1440
1440
}
1441
1441
else
1442
1442
{
1443
- // Arrays of primitive types can be initialized with a single instruction
1444
- // We don't do this for arrays of Booleans , because Bools are represented
1445
- // as bytes, so each cell must be initialized in a particular way (see
1446
- // gen_nondet_init).
1443
+ // Arrays of primitive type can be initialized with a single instruction.
1444
+ // We don't do this for arrays of primitive booleans , because booleans are
1445
+ // represented as unsigned bytes, so each cell must be initialized as
1446
+ // 0 or 1 (see gen_nondet_init).
1447
1447
array_primitive_init_code (
1448
1448
assignments,
1449
1449
init_array_expr,
You can’t perform that action at this time.
0 commit comments