| 47 | } |
| 48 | |
| 49 | enum class Instruction : uint32_t |
| 50 | { |
| 51 | RETURN = 0, |
| 52 | JUMP = 1, |
| 53 | MATCH = 2, |
| 54 | DEFAULT = 3, |
| 55 | }; |
| 56 | |
| 57 | const std::vector<uint8_t> TYPE_BIT_SIZES{0, 0, 1}; |
| 58 | Instruction DecodeType(std::vector<bool>::const_iterator& bitpos, const std::vector<bool>::const_iterator& endpos) |