Skip to content

Commit 7b2854a

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 fd85add commit 7b2854a

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
@@ -14,9 +14,6 @@ Author: Romain Brenguier, [email protected]
1414
#include <util/std_expr.h>
1515
bool is_l1_renamed(const exprt &expr)
1616
{
17-
if(!is_l2_renamed(expr.type()))
18-
return false;
19-
2017
if(expr.id() == ID_symbol)
2118
{
2219
const auto &type = expr.type();

0 commit comments

Comments
 (0)