| 58 | } |
| 59 | |
| 60 | void Function::ForEachInst(const std::function<void(Instruction*)>& f, |
| 61 | bool run_on_debug_line_insts, |
| 62 | bool run_on_non_semantic_insts) { |
| 63 | WhileEachInst( |
| 64 | [&f](Instruction* inst) { |
| 65 | f(inst); |
| 66 | return true; |
| 67 | }, |
| 68 | run_on_debug_line_insts, run_on_non_semantic_insts); |
| 69 | } |
| 70 | |
| 71 | void Function::ForEachInst(const std::function<void(const Instruction*)>& f, |
| 72 | bool run_on_debug_line_insts, |
no outgoing calls
no test coverage detected