Skip to content

Commit 2fb140e

Browse files
committed
base_type_eq has been removed
1 parent a76ab06 commit 2fb140e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/hw-cbmc/map_vars.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Author: Daniel Kroening, [email protected]
66
77
\*******************************************************************/
88

9-
#include <util/base_type.h>
109
#include <util/c_types.h>
1110
#include <util/config.h>
1211
#include <util/ebmc_util.h>
@@ -249,7 +248,7 @@ bool map_varst::array_types_eq(
249248
return array_types_eq(to_array_type(s1), to_array_type(s2), error_msg);
250249

251250
// we are strict: the subtype needs to be identical
252-
if(!base_type_eq(s1, s2, ns))
251+
if(s1 != s2)
253252
{
254253
error_msg = "array subtypes differ (E2)";
255254
return true;
@@ -285,7 +284,7 @@ bool map_varst::check_types_rec(
285284
return check_types_rec(type1, ns.follow(type2), error_msg);
286285

287286
// type is the same?
288-
if(base_type_eq(type1, type2, ns))
287+
if(type1 == type2)
289288
return false;
290289

291290
// anything between integral types is fine

0 commit comments

Comments
 (0)