(e exprDesc)
| 801 | } |
| 802 | |
| 803 | func (f *function) GoIfFalse(e exprDesc) exprDesc { |
| 804 | pc := noJump |
| 805 | switch e = f.DischargeVariables(e); e.kind { |
| 806 | case kindJump: |
| 807 | pc = e.info |
| 808 | case kindNil, kindFalse: |
| 809 | default: |
| 810 | pc = f.jumpOnCondition(e, 1) |
| 811 | } |
| 812 | e.t = f.Concatenate(e.t, pc) |
| 813 | f.PatchToHere(e.f) |
| 814 | e.f = noJump |
| 815 | return e |
| 816 | } |
| 817 | |
| 818 | func (f *function) encodeNot(e exprDesc) exprDesc { |
| 819 | switch e = f.DischargeVariables(e); e.kind { |
no test coverage detected