mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
UE-3025: There is no need to prune tops from non-triggered graphs
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user