| 374 | } |
| 375 | |
| 376 | void |
| 377 | ReducerOutputMgr::output_post_stm_values(const Statement* stm, std::ostream &out, FactMgr* fm, int indent) |
| 378 | { |
| 379 | // print value of variables that may have been written by the statement |
| 380 | if (find_stm_in_set(reducer->dump_value_after, stm) != -1) { |
| 381 | assert(stm->parent); |
| 382 | string blkid = StringUtils::int2str(stm->parent->stm_id); |
| 383 | string id = StringUtils::int2str(stm->stm_id); |
| 384 | out << "/* replacing " << blkid << " " << id << " after" << endl; |
| 385 | output_write_var_values("values after " + id + "...\\n", stm, out, fm, indent, true); |
| 386 | output_memory_addrs(stm, out, indent); |
| 387 | out << "*/" << endl; |
| 388 | } |
| 389 | } |
| 390 | |
| 391 | /* |
| 392 | * compute the real "meaningful" length of statement or expression |
nothing calls this directly
no test coverage detected