MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / delInstr

Method delInstr

ir/function.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void 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
72void BasicBlock::popInstr() {
73 m_instrs.pop_back();

Callers 2

preprocessMethod · 0.80
function.cppFile · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected