| 917 | |
| 918 | |
| 919 | static void optimizechoice (Instruction *p) { |
| 920 | assert(p->i.code == IChoice); |
| 921 | if (isfixcheck(p + 1)) { |
| 922 | int lc = sizei(p + 1); |
| 923 | rotate(p, lc, 1); |
| 924 | assert(isfixcheck(p) && (p + lc)->i.code == IChoice); |
| 925 | (p + lc)->i.aux = op_step(p); |
| 926 | check2test(p, (p + lc)->i.offset); |
| 927 | (p + lc)->i.offset -= lc; |
| 928 | } |
| 929 | } |
| 930 | |
| 931 | |
| 932 | /* |
no test coverage detected