| 61 | } |
| 62 | |
| 63 | void BasicBlock::delInstr(const Instr *i) { |
| 64 | for (auto I = m_instrs.begin(), E = m_instrs.end(); I != E; ++I) { |
| 65 | if (I->get() == i) { |
| 66 | m_instrs.erase(I); |
| 67 | return; |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | void BasicBlock::popInstr() { |
| 73 | m_instrs.pop_back(); |
no test coverage detected