diff options
Diffstat (limited to 'lpcode.c')
-rw-r--r-- | lpcode.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -759,7 +759,6 @@ static void codeand (CompileState *compst, TTree *tree, int tt) { | |||
759 | else */{ /* default: Choice L1; p1; BackCommit L2; L1: Fail; L2: */ | 759 | else */{ /* default: Choice L1; p1; BackCommit L2; L1: Fail; L2: */ |
760 | int pcommit; | 760 | int pcommit; |
761 | int pchoice = addoffsetinst(compst, IPredChoice); /* labeled failure */ | 761 | int pchoice = addoffsetinst(compst, IPredChoice); /* labeled failure */ |
762 | getinstr(compst, pchoice).i.aux = ANDPRED; | ||
763 | codegen(compst, tree, 0, tt, fullset); | 762 | codegen(compst, tree, 0, tt, fullset); |
764 | pcommit = addoffsetinst(compst, IBackCommit); | 763 | pcommit = addoffsetinst(compst, IBackCommit); |
765 | jumptohere(compst, pchoice); | 764 | jumptohere(compst, pchoice); |
@@ -862,7 +861,6 @@ static void codenot (CompileState *compst, TTree *tree) { | |||
862 | else { | 861 | else { |
863 | /* test(fail(p))-> L1; choice L1; <p>; failtwice; L1: */ | 862 | /* test(fail(p))-> L1; choice L1; <p>; failtwice; L1: */ |
864 | int pchoice = addoffsetinst(compst, IPredChoice); /* labeled failure */ | 863 | int pchoice = addoffsetinst(compst, IPredChoice); /* labeled failure */ |
865 | getinstr(compst, pchoice).i.aux = NOTPRED; | ||
866 | codegen(compst, tree, 0, NOINST, fullset); | 864 | codegen(compst, tree, 0, NOINST, fullset); |
867 | addinstruction(compst, IFailTwice, 0); | 865 | addinstruction(compst, IFailTwice, 0); |
868 | jumptohere(compst, pchoice); | 866 | jumptohere(compst, pchoice); |