Skip to content

Commit ddd3d03

Browse files
committed
Extended simplify for byte_update, typing
1 parent 7064483 commit ddd3d03

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/util/simplify_expr.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -2132,6 +2132,14 @@ bool simplify_exprt::simplify_byte_update(byte_update_exprt &expr)
21322132

21332133
return false;
21342134
}
2135+
2136+
if(result_expr.is_not_nil())
2137+
{
2138+
simplify_rec(result_expr);
2139+
expr.swap(result_expr);
2140+
2141+
return false;
2142+
}
21352143
}
21362144

21372145
// replace elements of array or struct expressions, possibly using

0 commit comments

Comments
 (0)