| 458 | return res; |
| 459 | } |
| 460 | bool match(const sBB* bb, minsn_t** first = nullptr, minsn_t** last = nullptr) const |
| 461 | { |
| 462 | switch(kind) { |
| 463 | case eBBK_whole: return match_freq(bb); |
| 464 | case eBBK_head: return match_head(bb, first); |
| 465 | case eBBK_tail: return match_tail(bb, last); |
| 466 | case eBBK_single: return match_single(bb, first, last); |
| 467 | } |
| 468 | return false; |
| 469 | } |
| 470 | char getKind() const |
| 471 | { |
| 472 | switch (kind) { |
nothing calls this directly
no test coverage detected