UE-3025: There is no need to prune tops from non-triggered graphs

This commit is contained in:
Alex Coyte
2016-09-15 11:22:29 +10:00
committed by Matthew Barr
parent 7d3eff8648
commit 648a3c4824
2 changed files with 11 additions and 0 deletions

View File

@@ -512,6 +512,9 @@ u32 isImplementableNFA(const NGHolder &g, const ReportManager *rm,
if (!cc.grey.allowLimExNFA) {
return false;
}
assert(!can_never_match(g));
// Quick check: we can always implement an NFA with less than NFA_MAX_STATES
// states. Note that top masks can generate extra states, so we account for
// those here too.