| 176 | } |
| 177 | |
| 178 | void Function::ForEachParam(const std::function<void(Instruction*)>& f, |
| 179 | bool run_on_debug_line_insts) { |
| 180 | for (auto& param : params_) |
| 181 | static_cast<Instruction*>(param.get()) |
| 182 | ->ForEachInst(f, run_on_debug_line_insts); |
| 183 | } |
| 184 | |
| 185 | void Function::ForEachParam(const std::function<void(const Instruction*)>& f, |
| 186 | bool run_on_debug_line_insts) const { |