| 467 | } |
| 468 | |
| 469 | bool Compiler::IsCachedRuneByteSuffix(int id) { |
| 470 | uint8_t lo = inst_[id].lo_; |
| 471 | uint8_t hi = inst_[id].hi_; |
| 472 | bool foldcase = inst_[id].foldcase() != 0; |
| 473 | int next = inst_[id].out(); |
| 474 | |
| 475 | uint64_t key = MakeRuneCacheKey(lo, hi, foldcase, next); |
| 476 | return rune_cache_.find(key) != rune_cache_.end(); |
| 477 | } |
| 478 | |
| 479 | void Compiler::AddSuffix(int id) { |
| 480 | if (failed_) |
nothing calls this directly
no test coverage detected