mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
removed commented lines.
This commit is contained in:
parent
01dee390a9
commit
8dabc86a69
@ -811,11 +811,9 @@ depth_done:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
||||
// Second option: a two-byte shufti (i.e. less than eight 2-byte
|
||||
// literals)
|
||||
// if (depth > 1) {
|
||||
for (unsigned int i = 0; i < (depth - 1); i++) {
|
||||
if (depthReach[i].count() * depthReach[i+1].count()
|
||||
<= DOUBLE_SHUFTI_LIMIT) {
|
||||
|
@ -267,19 +267,6 @@ bool somMayGoBackwards(NFAVertex u, const NGHolder &g,
|
||||
boost::depth_first_search(c_g, visitor(backEdgeVisitor)
|
||||
.root_vertex(c_g.start));
|
||||
|
||||
// with be.clear right above does this ever run at all?
|
||||
//for (const auto &e : be) {
|
||||
// NFAVertex s = source(e, c_g);
|
||||
// NFAVertex t = target(e, c_g);
|
||||
// DEBUG_PRINTF("back edge %zu %zu\n", c_g[s].index, c_g[t].index);
|
||||
// if (s != t) {
|
||||
// assert(0);
|
||||
// DEBUG_PRINTF("eek big cycle\n");
|
||||
// rv = true; /* big cycle -> eek */
|
||||
// goto exit;
|
||||
// }
|
||||
//}
|
||||
|
||||
DEBUG_PRINTF("checking acyclic+selfloop graph\n");
|
||||
|
||||
rv = !firstMatchIsFirst(c_g);
|
||||
|
@ -170,7 +170,6 @@ void renovateCastle(RoseBuildImpl &tbi, CastleProto *castle,
|
||||
return; /* bail - TODO: be less lazy */
|
||||
}
|
||||
|
||||
//vector<CharReach> rem_local_cr;
|
||||
u32 ok_count = 0;
|
||||
for (auto it = e.s.end() - g[v].left.lag; it != e.s.end(); ++it) {
|
||||
if (!isSubsetOf(*it, cr)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user