mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
u3: fix compilation of dynamic hints in tail position
hinted formulas are never in tail position
This commit is contained in:
parent
2215141354
commit
1f055607e4
@ -1023,7 +1023,7 @@ _n_bint(u3_noun* ops, u3_noun hif, u3_noun nef, c3_o los_o, c3_o tel_o)
|
||||
|
||||
case c3__bout: {
|
||||
u3_noun fen = u3_nul;
|
||||
c3_w nef_w = _n_comp(&fen, nef, los_o, tel_o);
|
||||
c3_w nef_w = _n_comp(&fen, nef, los_o, c3n);
|
||||
// add appropriate hind opcode
|
||||
++nef_w; _n_emit(&fen, ( c3y == los_o ) ? HILL : HILK);
|
||||
// skip over the cleanup opcode
|
||||
@ -1058,7 +1058,7 @@ _n_bint(u3_noun* ops, u3_noun hif, u3_noun nef, c3_o los_o, c3_o tel_o)
|
||||
|
||||
case c3__bout: {
|
||||
u3_noun fen = u3_nul;
|
||||
c3_w nef_w = _n_comp(&fen, nef, los_o, tel_o);
|
||||
c3_w nef_w = _n_comp(&fen, nef, los_o, c3n);
|
||||
// add appropriate hind opcode
|
||||
++nef_w; _n_emit(&fen, ( c3y == los_o ) ? HINL : HINK);
|
||||
// skip over the cleanup opcode
|
||||
|
Loading…
Reference in New Issue
Block a user