X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/3b9b6100912f7bb1ee43f9cfb51e804765a37bd4..a973128a85d7dd75c7ea6fdcf746fc143a987d03:/optimize.c diff --git a/optimize.c b/optimize.c index e38d2d7c..bcee9af4 100644 --- a/optimize.c +++ b/optimize.c @@ -991,10 +991,10 @@ opt_peep(opt_state_t *opt_state, struct block *b) */ if (b->s.code == (BPF_JMP|BPF_JEQ|BPF_K) && !ATOMELEM(b->out_use, A_ATOM)) { - /* - * We can optimize away certain subtractions of the - * X register. - */ + /* + * We can optimize away certain subtractions of the + * X register. + */ if (last->s.code == (BPF_ALU|BPF_SUB|BPF_X)) { val = b->val[X_ATOM]; if (opt_state->vmap[val].is_const) { @@ -2401,7 +2401,7 @@ filled: if (off >= 256) { /* offset too large for branch, must add a jump */ if (p->longjt == 0) { - /* mark this instruction and retry */ + /* mark this instruction and retry */ p->longjt++; return(0); } @@ -2421,7 +2421,7 @@ filled: if (off >= 256) { /* offset too large for branch, must add a jump */ if (p->longjf == 0) { - /* mark this instruction and retry */ + /* mark this instruction and retry */ p->longjf++; return(0); } @@ -2626,7 +2626,7 @@ dot_dump_edge(struct icode *ic, struct block *block, FILE *out) "block1":sw -> "block3":n [label="F"]; } * - * After install graphviz on http://www.graphviz.org/, save it as bpf.dot + * After install graphviz on https://www.graphviz.org/, save it as bpf.dot * and run `dot -Tpng -O bpf.dot' to draw the graph. */ static int