mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
ng_depth: rename calcDepth functions, return vec
This commit is contained in:
committed by
Matthew Barr
parent
15c8a7bd98
commit
dfe1b8a2af
@@ -1928,8 +1928,7 @@ void removeAddedLiterals(RoseBuildImpl &tbi, const flat_set<u32> &lit_ids) {
|
||||
}
|
||||
|
||||
bool RoseBuildImpl::addAnchoredAcyclic(const NGHolder &h) {
|
||||
vector<DepthMinMax> vertexDepths;
|
||||
calcDepthsFrom(h, h.start, vertexDepths);
|
||||
auto vertexDepths = calcDepthsFrom(h, h.start);
|
||||
|
||||
map<NFAVertex, set<u32> > reportMap; /* NFAVertex -> literal ids */
|
||||
map<u32, DepthMinMax> depthMap; /* literal id -> min/max depth */
|
||||
|
Reference in New Issue
Block a user