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

Method is_stm_deleted

src/Reducer.cpp:373–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373bool
374Reducer::is_stm_deleted(const Statement* stm) const
375{
376 const Statement* s = stm;
377 while (s && replaced_stms.find(s) == replaced_stms.end() && !is_blk_deleted(s->parent)) {
378 s = s->find_container_stm();
379 }
380 // s = NULL means the statement is not reduced
381 return !(s == NULL);
382}
383
384bool
385Reducer::is_param_dropped(const Function* f, int i)

Callers

nothing calls this directly

Calls 2

endMethod · 0.80
find_container_stmMethod · 0.80

Tested by

no test coverage detected