Returns a fragment for the byte range lo-hi.
| 363 | |
| 364 | // Returns a fragment for the byte range lo-hi. |
| 365 | Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { |
| 366 | int id = AllocInst(1); |
| 367 | if (id < 0) |
| 368 | return NoMatch(); |
| 369 | inst_[id].InitByteRange(lo, hi, foldcase, 0); |
| 370 | return Frag(id, PatchList::Mk(id << 1)); |
| 371 | } |
| 372 | |
| 373 | // Returns a no-op fragment. Sometimes unavoidable. |
| 374 | Frag Compiler::Nop() { |
nothing calls this directly
no test coverage detected