Faster register clear
This commit is contained in:
parent
8df2a496cc
commit
2449bac4ad
|
@ -91,7 +91,7 @@ match_rule(Rule *r, char *p)
|
||||||
int i;
|
int i;
|
||||||
char c, last = 0, *a = r->a, *b = p;
|
char c, last = 0, *a = r->a, *b = p;
|
||||||
if(rmax) {
|
if(rmax) {
|
||||||
for(i = 0; i <= rmax; i++)
|
for(i = rmin; i <= rmax; i++)
|
||||||
regs[i] = 0;
|
regs[i] = 0;
|
||||||
rmin = 0xff, rmax = 0x00;
|
rmin = 0xff, rmax = 0x00;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue