| 371 | } |
| 372 | |
| 373 | bool |
| 374 | Reducer::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 | |
| 384 | bool |
| 385 | Reducer::is_param_dropped(const Function* f, int i) |
nothing calls this directly
no test coverage detected