regex: track CompiledRegex::StartDesc in the Regex memory domain

This commit is contained in:
Maxime Coste 2018-02-24 16:29:24 +11:00
parent 9bd9fecb53
commit af21d4ca1e

View File

@ -101,7 +101,7 @@ struct CompiledRegex : RefCountable, UseMemoryDomain<MemoryDomain::Regex>
uint32_t first_backward_inst; // -1 if no backward support, 0 if only backward, >0 if both forward and backward uint32_t first_backward_inst; // -1 if no backward support, 0 if only backward, >0 if both forward and backward
uint32_t save_count; uint32_t save_count;
struct StartDesc struct StartDesc : UseMemoryDomain<MemoryDomain::Regex>
{ {
static constexpr size_t count = 256; static constexpr size_t count = 256;
static constexpr Codepoint other = 256; static constexpr Codepoint other = 256;