MCPcopy Create free account
hub / github.com/csmith-project/csmith / equal

Method equal

src/FactPointTo.cpp:564–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564bool
565FactPointTo::equal(const Fact& f) const
566{
567 if (eCat == f.eCat) {
568 const FactPointTo& fact = (const FactPointTo&)f;
569 return (var == fact.get_var() && equal_variable_sets(point_to_vars, fact.get_point_to_vars()));
570 }
571 return false;
572}
573
574/*
575 * return 1 if changed, 0 otherwise

Callers

nothing calls this directly

Calls 2

equal_variable_setsFunction · 0.85
get_varMethod · 0.45

Tested by

no test coverage detected