Skip to content

Commit

Permalink
Merge pull request #6138 from tautschnig/bv-pointers-else
Browse files Browse the repository at this point in the history
bv_pointerst: else case is just for byte updates
  • Loading branch information
tautschnig authored Aug 13, 2021
2 parents 0aaf6d9 + d73135a commit f0a4e75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/solvers/flattening/bv_pointers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@ bvt bv_pointerst::convert_pointer_type(const exprt &expr)
{
return SUB::convert_byte_extract(to_byte_extract_expr(expr));
}
else
else if(
expr.id() == ID_byte_update_little_endian ||
expr.id() == ID_byte_update_big_endian)
{
return SUB::convert_byte_update(to_byte_update_expr(expr));
}
Expand Down

0 comments on commit f0a4e75

Please sign in to comment.