From 1f055607e4979c3f038704a9ca6145fa581d73e6 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Tue, 14 Dec 2021 00:17:10 -0500 Subject: [PATCH] u3: fix compilation of dynamic hints in tail position hinted formulas are never in tail position --- pkg/urbit/noun/nock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/urbit/noun/nock.c b/pkg/urbit/noun/nock.c index f2ec04e644..c02f2ef030 100644 --- a/pkg/urbit/noun/nock.c +++ b/pkg/urbit/noun/nock.c @@ -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