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

Method equal

src/FactUnion.cpp:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204bool
205FactUnion::equal(const Fact& f) const
206{
207 if (is_related(f)) {
208 const FactUnion& fact = (const FactUnion&)f;
209 return last_written_fid == fact.get_last_written_fid();
210 }
211 return false;
212}
213
214/*
215 * return 1 if changed, 0 otherwise. currently facts from diff. categories are not joined

Callers

nothing calls this directly

Calls 1

get_last_written_fidMethod · 0.80

Tested by

no test coverage detected