While looking at something else, I realized that in the overload for
the equals() function for class_or_union, the cycle detection
management code was redundant for the case where we are looking
comparing a decl-only class to another class.
This patch removes that redundant code.
* src/abg-ir.cc (equals): In the overload for class_or_union
remove redundant cycle detection code when comparison a decl-only
class to another class.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
}
}
- RETURN_TRUE_IF_COMPARISON_CYCLE_DETECTED(l, r);
-
- mark_types_as_being_compared(l, r);
-
bool val = *def1 == *def2;
if (!val)
if (k)