Skip to content

Commit 3ed11d6

Browse files
smowtonDaniel Kroening
authored andcommitted
Remove use of base_type_eq in disabled code
1 parent 2b9b07a commit 3ed11d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/goto-programs/link_goto_model.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,12 @@ static bool link_functions(
118118
const irep_idt &id = to_symbol_expr(symbol.value).get_identifier();
119119

120120
#if 0
121-
if(!base_type_eq(symbol.type, ns.lookup(id).type, ns))
121+
if(symbol.type != ns.lookup(id).type)
122122
{
123123
std::cerr << symbol << '\n';
124124
std::cerr << ns.lookup(id) << '\n';
125125
}
126-
INVARIANT(base_type_eq(symbol.type, ns.lookup(id).type, ns),
127-
"type matches");
126+
INVARIANT(symbol.type == ns.lookup(id).type, "type matches");
128127
#endif
129128

130129
macro_application.insert_expr(symbol.name, id);

0 commit comments

Comments
 (0)