summaryrefslogtreecommitdiffstats
path: root/generic/regc_nfa.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-22 21:02:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-11-22 21:02:29 (GMT)
commit5eeef96ee9e6fbb573a438338662fea9ca7c0efd (patch)
tree251cb02566078f3add782ab598462b1054586426 /generic/regc_nfa.c
parent6b4bc6bb8d46722088d73bd4a93f51e7fc65dbf4 (diff)
downloadtcl-5eeef96ee9e6fbb573a438338662fea9ca7c0efd.zip
tcl-5eeef96ee9e6fbb573a438338662fea9ca7c0efd.tar.gz
tcl-5eeef96ee9e6fbb573a438338662fea9ca7c0efd.tar.bz2
Cherrypick [812a81812ebf89d2416059d45fabd27e45603f5e|812a81812e]: Turn off NRE asserts by default. About a 5% speedup on [clock format].
Diffstat (limited to 'generic/regc_nfa.c')
-rw-r--r--generic/regc_nfa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/regc_nfa.c b/generic/regc_nfa.c
index 0e0343e..088c6c0 100644
--- a/generic/regc_nfa.c
+++ b/generic/regc_nfa.c
@@ -293,7 +293,7 @@ newarc(
}
}
}
-
+
/* no dup, so create the arc */
createarc(nfa, t, co, from, to);
}
@@ -657,7 +657,7 @@ sortins_cmp(
}
return 0;
}
-
+
/*
* sortouts - sort the out arcs of a state by to/color/type
*/
@@ -2020,7 +2020,7 @@ fixempties(
arcarray[arccount++] = a;
}
}
-
+
/* Reset the tmp fields as we walk back */
nexts = s2->tmp;
s2->tmp = NULL;
@@ -2042,7 +2042,7 @@ fixempties(
}
inarcsorig[s->no] = a;
}
-
+
FREE(arcarray);
FREE(inarcsorig);
@@ -2193,7 +2193,7 @@ fixconstraintloops(
dropstate(nfa, s);
}
}
-
+
/* Nothing to do if no remaining constraint arcs */
if (NISERR() || !hasconstraints) {
return;
@@ -2909,7 +2909,7 @@ carc_cmp(
{
const struct carc *aa = (const struct carc *) a;
const struct carc *bb = (const struct carc *) b;
-
+
if (aa->co < bb->co) {
return -1;
}