Skip to content

Commit e2a021a

Browse files
Remove spurious type check in is_l1_renamed
There is no reason for an expression renamed to level 1 to have type renamed to level 2.
1 parent e9d84d4 commit e2a021a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/goto-symex/renamed.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ Author: Romain Brenguier, [email protected]
1515

1616
bool is_l1_renamed(const exprt &expr)
1717
{
18-
if(!is_l2_renamed(expr.type()))
19-
return false;
20-
2118
if(expr.id() == ID_symbol)
2219
{
2320
const auto &type = expr.type();

0 commit comments

Comments
 (0)